1. 05 Mar, 2021 33 commits
  2. 04 Mar, 2021 7 commits
    • Ng Zhi An's avatar
      Reland "[wasm-simd][liftoff] Compile double precision conversions" · 5300b26d
      Ng Zhi An authored
      This is a reland of fe00fbd9
      
      Original change's description:
      > [wasm-simd][liftoff] Compile double precision conversions
      >
      > I missed actually handling these instructions in liftoff-compiler, so
      > even though the assembler functions were implemented for all archs, we
      > weren't running them.
      >
      > This properly handles the instructions and a couple of fixes:
      >
      > - for arm64, typos in using signed instructions for unsigned Wasm ops
      > - for arm, handle the case where dst == src, which leads to us
      > overwriting src and then reading junk from the overwritten portions to
      > convert
      >
      > Bug: v8:11265
      > Change-Id: I7919280bdf395137e95075deb30ed815100df222
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2728382
      > Reviewed-by: Clemens Backes <clemensb@chromium.org>
      > Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
      > Commit-Queue: Zhi An Ng <zhin@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#73178}
      
      Bug: v8:11265
      Change-Id: Ib854b526e74710f03e83d5007e3a3f501363ce86
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2733661Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
      Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
      Commit-Queue: Zhi An Ng <zhin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#73206}
      5300b26d
    • Shu-yu Guo's avatar
      Revert "[ptr-cage] Reserve base registers on x64 (r14) and arm64 (x28)" · 645631f2
      Shu-yu Guo authored
      This reverts commit 0c63aa9e.
      
      Reason for revert: Breaking clusterfuzz builds
      
      Original change's description:
      > [ptr-cage] Reserve base registers on x64 (r14) and arm64 (x28)
      >
      > Also add a V8_COMPRESS_POINTERS_IN_SHARED_CAGE define when pointer
      > compression is enabled.
      >
      > This CL is to get performance numbers for reserving an extra register.
      > There is no actual pointer cage yet, and the base register will always
      > have the same value as the root register. The pointer decompression code
      > is switched to using the base register instead of the root register.
      >
      > Bug: v8:11460
      > Change-Id: I40bae556c2098608fb6fc193a52694e3f54754bd
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2716075
      > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
      > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
      > Reviewed-by: Leszek Swirski <leszeks@chromium.org>
      > Commit-Queue: Shu-yu Guo <syg@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#73204}
      
      Bug: v8:11460
      Change-Id: Idebf1fc6eeeda880a21d65b6f2c674fa58690bfa
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2737812
      Auto-Submit: Shu-yu Guo <syg@chromium.org>
      Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Cr-Commit-Position: refs/heads/master@{#73205}
      645631f2
    • Shu-yu Guo's avatar
      [ptr-cage] Reserve base registers on x64 (r14) and arm64 (x28) · 0c63aa9e
      Shu-yu Guo authored
      Also add a V8_COMPRESS_POINTERS_IN_SHARED_CAGE define when pointer
      compression is enabled.
      
      This CL is to get performance numbers for reserving an extra register.
      There is no actual pointer cage yet, and the base register will always
      have the same value as the root register. The pointer decompression code
      is switched to using the base register instead of the root register.
      
      Bug: v8:11460
      Change-Id: I40bae556c2098608fb6fc193a52694e3f54754bd
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2716075Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Commit-Queue: Shu-yu Guo <syg@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#73204}
      0c63aa9e
    • Milad Fa's avatar
      PPC/s390: Reland "[wasm-simd] Remove add horiz instructions" · f458cade
      Milad Fa authored
      Port 430407cd
      
      Original Commit Message:
      
          This is a reland of 77838343
      
          No changes in this reland, this wasn't causing the failures, see
          https://crbug.com/1163833 for the actual cause.
      
          Original change's description:
          > [wasm-simd] Remove add horiz instructions
          >
          > Bug: v8:6020
          > Change-Id: I0605798d03f2e9f9c3c07c49141289889a10a3b0
          > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2727204
          > Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
          > Commit-Queue: Zhi An Ng <zhin@chromium.org>
          > Cr-Commit-Position: refs/heads/master@{#73180}
      
      R=zhin@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
      BUG=
      LOG=N
      
      Change-Id: I1d69a63c2394e8a703e1bcd8b18a4f9f666f03b5
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2737066Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
      Commit-Queue: Milad Fa <mfarazma@redhat.com>
      Cr-Commit-Position: refs/heads/master@{#73203}
      f458cade
    • Shu-yu Guo's avatar
      Revert "Reland "[wasm][liftoff] Respect CallDescriptor linkage"" · 81bb9cc8
      Shu-yu Guo authored
      This reverts commit 36a7cba2.
      
      Reason for revert: On suspicion of making breakpoints fail more reliably: https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux/41129/overview
      
      Original change's description:
      > Reland "[wasm][liftoff] Respect CallDescriptor linkage"
      >
      > This is a reland of 94283811
      >
      > Patchset #2 fixes the Arm bug. A vpush is used to push the slot,
      > so subtract kSimd128Size from the stack decrement to get padding.
      >
      > Original change's description:
      > > [wasm][liftoff] Respect CallDescriptor linkage
      > >
      > > - Adds the actual stack slot location to LiftoffStackSlots::Slot.
      > > - Adds SortInPushedOrder method for architectures that push
      > >   parameters.
      > > - Changes the LiftoffStackSlots::Construct signature to take the
      > >   number of parameter slots in total, and changes implementations
      > >   to insert padding when slots aren't contiguous.
      > > - Changes Arm MacroAssembler::AllocateStackSpace to check the
      > >   immediate value, and to be a nop when it's zero.
      > >
      > > Bug: v8:9198
      > > Change-Id: Ibd5775dbed3a40051fa9e345556231a1c07cf4e9
      > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2717120
      > > Reviewed-by: Andreas Haas <ahaas@chromium.org>
      > > Reviewed-by: Clemens Backes <clemensb@chromium.org>
      > > Commit-Queue: Bill Budge <bbudge@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#73191}
      >
      > Bug: v8:9198
      > Change-Id: Iae4930e28dd7fc634e3709a5726379c6b37e5195
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2735984
      > Reviewed-by: Bill Budge <bbudge@chromium.org>
      > Reviewed-by: Clemens Backes <clemensb@chromium.org>
      > Reviewed-by: Andreas Haas <ahaas@chromium.org>
      > Commit-Queue: Bill Budge <bbudge@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#73195}
      
      Bug: v8:9198
      Change-Id: I5e72a1f765eb49ec72198abd44798a6153e3dace
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2737796
      Auto-Submit: Shu-yu Guo <syg@chromium.org>
      Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Cr-Commit-Position: refs/heads/master@{#73202}
      81bb9cc8
    • Milad Fa's avatar
      PPC/s390: [no-wasm] Remove wasm-specific code from codegen · e73c7b21
      Milad Fa authored
      Port 75d7d127
      
      Original Commit Message:
      
          This removes many wasm-specific code paths from codegen, such that
          includes from src/wasm can be removed. After src/wasm is fully excluded
          from no-wasm builds, we can also clean up unused enum values, but for
          now they are still being referenced.
      
      R=clemensb@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
      BUG=
      LOG=N
      
      Change-Id: I009225a7e76afb31b264f79904253817ca564b57
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2736516
      Commit-Queue: Milad Fa <mfarazma@redhat.com>
      Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
      Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#73201}
      e73c7b21
    • Ng Zhi An's avatar
      Reland "[wasm-simd] Remove add horiz instructions" · 430407cd
      Ng Zhi An authored
      This is a reland of 77838343
      
      No changes in this reland, this wasn't causing the failures, see
      https://crbug.com/1163833 for the actual cause.
      
      Original change's description:
      > [wasm-simd] Remove add horiz instructions
      >
      > Bug: v8:6020
      > Change-Id: I0605798d03f2e9f9c3c07c49141289889a10a3b0
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2727204
      > Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
      > Commit-Queue: Zhi An Ng <zhin@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#73180}
      
      Bug: v8:6020
      Change-Id: I83d59ed800bd73c81cb879b4ba3a5144045c62d4
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2733663Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
      Commit-Queue: Zhi An Ng <zhin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#73200}
      430407cd