1. 26 Aug, 2019 5 commits
  2. 25 Aug, 2019 1 commit
    • Dominik Inführ's avatar
      Revert "[heap] Introduce old-to-new invalidation set" · f584f7cc
      Dominik Inführ authored
      This reverts commit 604b0e1e.
      
      Reason for revert: Clusterfuzz found an issue.
      
      Original change's description:
      > [heap] Introduce old-to-new invalidation set
      > 
      > Introduce list of invalidated objects for old-to-new slots. Objects
      > are registered as invalidated in NotifyObjectLayoutChange, however
      > no slots are filtered right now. Slots are still deleted, so all
      > recorded slots are valid.
      > 
      > Bug: v8:9454
      > Change-Id: Ic0ea15283c4075f4051fae6a5b148721265339f7
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1765528
      > Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
      > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#63367}
      
      TBR=ulan@chromium.org,dinfuehr@chromium.org
      
      # Not skipping CQ checks because original CL landed > 1 day ago.
      
      Bug: v8:9454
      Change-Id: Ic898db38f297824aa54744123f85cd75df957159
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1770676Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
      Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#63390}
      f584f7cc
  3. 24 Aug, 2019 1 commit
    • Joey Gouly's avatar
      [ptr-compr][turbofan] Add some simplified reducers for compressions · e68a51f7
      Joey Gouly authored
      ChangeTaggedSignedToInt32(ChangeCompressedSignedToTaggedSigned((x)) ->
        ChangeCompressedSignedToInt32(x)
      
      This pattern shows up in the Octane Richards benchmark (on arm64):
      
          sxtw x11, w10
          asr w11, w11, #1
      
      This patch will remove the sxtw.
      
      ChangeCompressedSignedToInt32(CheckedInt32ToCompressedSigned(x)) -> x
      
      This pattern shows up in the Octane Richards benchmark (on arm64):
      
          adds w10, w10, w10
          b.vs #+0x1118
          asr w11, w10, #1
          stur w10, [x6, #19]
          cmp w11, #0x1a
      
      This patch will remove the asr, and produce:
      
          adds w11, w10, w10
          b.vs #+0x1108
          stur w11, [x6, #19]
          cmp w10, #0x1a
      
      Bug: v8:7703
      Change-Id: I5843e0a4f723b202857ee86130f835cd048d7e31
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1763529Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Reviewed-by: 's avatarSantiago Aboy Solanes <solanes@chromium.org>
      Commit-Queue: Rodolph Perfetta <rodolph.perfetta@arm.com>
      Cr-Commit-Position: refs/heads/master@{#63389}
      e68a51f7
  4. 23 Aug, 2019 32 commits
  5. 22 Aug, 2019 1 commit
    • Jakob Gruber's avatar
      Reland "[compiler] Track the maximal unoptimized frame size" · 95e26e49
      Jakob Gruber authored
      This is a reland of 1e472c42
      
      No change, this was a speculative revert to unblock the roll.
      
      TBR=jgruber
      
      Original change's description:
      > [compiler] Track the maximal unoptimized frame size
      >
      > This is another step towards considering the unoptimized frame size in
      > stack checks within optimized code.
      >
      > With the changes in this CL, we now keep track of the maximal
      > unoptimized frame size of the function that is currently being
      > compiled. An optimized function may inline multiple unoptimized
      > functions, so a single optimized frame can deopt to multiple
      > frames. The real frame size thus differs in different parts of the
      > optimized function.
      >
      > We only care about the maximal frame size, which we calculate
      > conservatively as an over-approximation, and track in
      > InstructionSelector::max_unoptimized_frame_height_ for now. In future
      > work, this value will be passed on to codegen, where it will be
      > applied as an offset to the stack pointer during the stack check.
      >
      > (The motivation behind this is to avoid stack overflows through deopts,
      > caused by size differences between optimized and unoptimized frames.)
      >
      > Note that this offset only ensure that the topmost optimized frame can
      > deopt without overflowing the stack limit. That's fine, because we only
      > deopt optimized frames one at a time. Other (non-topmost) frames are
      > only deoptimized once they are returned to.
      >
      > Drive-by: Print variable and total frame height in --trace-deopt.
      >
      > Bug: v8:9534
      > Change-Id: I821684a9da93bff59c20c8ab226105e7e12d93eb
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1762024
      > Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      > Auto-Submit: Jakob Gruber <jgruber@chromium.org>
      > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
      > Reviewed-by: Georg Neis <neis@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#63330}
      
      Bug: v8:9534
      Change-Id: I686f200e7be1f419e23e50789e11607a0b2886d9
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1766645
      Commit-Queue: Bill Budge <bbudge@chromium.org>
      Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#63356}
      95e26e49