1. 27 Jul, 2021 2 commits
  2. 26 Jul, 2021 30 commits
  3. 24 Jul, 2021 1 commit
    • Clemens Backes's avatar
      Reland "[liftoff][arm64] Zero-extend offsets also for SIMD" · 5e90a612
      Clemens Backes authored
      This is a reland of b99fe75c.
      The test is now skipped on non-SIMD hardware.
      
      Original change's description:
      > [liftoff][arm64] Zero-extend offsets also for SIMD
      >
      > This extends https://crrev.com/c/2917612 also for SIMD, which
      > (sometimes) uses the special {GetMemOpWithImmOffsetZero} method.
      > As part of this CL, that method is renamed to {GetEffectiveAddress}
      > which IMO is a better name. Also, it just returns a register to make the
      > semantic of that function obvious in the signature.
      >
      > Drive-by: When sign extending to 32 bit, only write to the W portion of
      >           the register. This is a bit cleaner, and I first thought that
      >           this would be the bug.
      >
      > R=jkummerow@chromium.org
      > CC=​thibaudm@chromium.org
      >
      > Bug: chromium:1231950, v8:12018
      > Change-Id: Ifaefe1f18e3a00534a30c99e3c37ed09d9508f6e
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3049073
      > Reviewed-by: Zhi An Ng <zhin@chromium.org>
      > Commit-Queue: Clemens Backes <clemensb@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#75898}
      
      TBR=zhin@chromium.org
      CC=jkummerow@chromium.org, thibaudm@chromium.org
      
      Bug: chromium:1231950, v8:12018
      Change-Id: I662b62fafe99389be7a6c23b970fdf3768f866cf
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3051610Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#75901}
      5e90a612
  4. 23 Jul, 2021 7 commits
    • Michael Achenbach's avatar
      Revert "[liftoff][arm64] Zero-extend offsets also for SIMD" · 7b455bf2
      Michael Achenbach authored
      This reverts commit b99fe75c.
      
      Reason for revert:
      https://ci.chromium.org/p/v8/builders/ci/V8%20Linux/43105
      
      Original change's description:
      > [liftoff][arm64] Zero-extend offsets also for SIMD
      >
      > This extends https://crrev.com/c/2917612 also for SIMD, which
      > (sometimes) uses the special {GetMemOpWithImmOffsetZero} method.
      > As part of this CL, that method is renamed to {GetEffectiveAddress}
      > which IMO is a better name. Also, it just returns a register to make the
      > semantic of that function obvious in the signature.
      >
      > Drive-by: When sign extending to 32 bit, only write to the W portion of
      >           the register. This is a bit cleaner, and I first thought that
      >           this would be the bug.
      >
      > R=​jkummerow@chromium.org
      > CC=​​thibaudm@chromium.org
      >
      > Bug: chromium:1231950, v8:12018
      > Change-Id: Ifaefe1f18e3a00534a30c99e3c37ed09d9508f6e
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3049073
      > Reviewed-by: Zhi An Ng <zhin@chromium.org>
      > Commit-Queue: Clemens Backes <clemensb@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#75898}
      
      Bug: chromium:1231950, v8:12018
      Change-Id: I4e7a9d6fa6809b7c4d9be919cd5698737d784849
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3049085
      Auto-Submit: Michael Achenbach <machenbach@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@{#75900}
      7b455bf2
    • Junliang Yan's avatar
      ppc: [liftoff] implement f32/f64 add/sub/mul/div · 694b0334
      Junliang Yan authored
      Change-Id: I8d3b2e1bc5d3e5f437bc8f1bc50299459fbc7ad9
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3049084Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
      Commit-Queue: Junliang Yan <junyan@redhat.com>
      Cr-Commit-Position: refs/heads/master@{#75899}
      694b0334
    • Clemens Backes's avatar
      [liftoff][arm64] Zero-extend offsets also for SIMD · b99fe75c
      Clemens Backes authored
      This extends https://crrev.com/c/2917612 also for SIMD, which
      (sometimes) uses the special {GetMemOpWithImmOffsetZero} method.
      As part of this CL, that method is renamed to {GetEffectiveAddress}
      which IMO is a better name. Also, it just returns a register to make the
      semantic of that function obvious in the signature.
      
      Drive-by: When sign extending to 32 bit, only write to the W portion of
                the register. This is a bit cleaner, and I first thought that
                this would be the bug.
      
      R=jkummerow@chromium.org
      CC=​thibaudm@chromium.org
      
      Bug: chromium:1231950, v8:12018
      Change-Id: Ifaefe1f18e3a00534a30c99e3c37ed09d9508f6e
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3049073Reviewed-by: 's avatarZhi An Ng <zhin@chromium.org>
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#75898}
      b99fe75c
    • Clemens Backes's avatar
      [liftoff][arm] Add explicit stack check for large frames · edc349db
      Clemens Backes authored
      Handle large frames by doing an explicit check to see if there is enough
      remaining stack space before the stack limit.
      The bailout which can be removed then is being triggered on more than 1
      percent of all functions, so this is expected to improve compile time by
      several percent, because we avoid the costly TurboFan compilation for
      those >1%.
      
      R=ahaas@chromium.org
      
      Bug: v8:11235
      Change-Id: I935998f7676647572598b52c989f7d41cc5239a8
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3046180
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#75897}
      edc349db
    • Michael Achenbach's avatar
      [test] Run also non-d8 tests on mac-arm64 · 4edf9685
      Michael Achenbach authored
      No-Try: true
      Bug: v8:11587
      Change-Id: Ie7daf2f8c6ed91daa1af5e984b7a8ff500d2d156
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3038532
      Auto-Submit: Michael Achenbach <machenbach@chromium.org>
      Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#75896}
      4edf9685
    • Michael Achenbach's avatar
      [test] Remove a test skip that's fixed · e02d3944
      Michael Achenbach authored
      No-Try: true
      Bug: chromium:1231890
      Change-Id: I01ad587070b9318cdf6d5ea1032adfefb30e42c9
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3048189Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#75895}
      e02d3944
    • Michael Lippautz's avatar
      Reland "Reland "heap: Fix initial GC configuration for C++-only heaps"" · b125c943
      Michael Lippautz authored
      This is a reland of 1f0b0ed0
      
      No actual code has changed in the relands.
      
      The change was reverted due to triggering flaky failures in
      WebMediaPlayerImplTest which was not set up properly. The test setup
      has been fixed in https://crrev.com/c/3025796.
      
      Original change's description:
      > Reland "heap: Fix initial GC configuration for C++-only heaps"
      >
      > This is a reland of 7ef67b2e
      >
      > Manually checked that the CL was not the culprit breaking
      >   media_blink_unittests --gtest_filter=WebMediaPlayerImplTest.MemDumpReporting
      >
      > Original change's description:
      > > heap: Fix initial GC configuration for C++-only heaps
      > >
      > > Heaps in V8 start with a large limit that is shrunk upon young
      > > generation GCs, based on some liveness estimate. This provides best
      > > throughput during startup while at the same time finding a reasonable
      > > first limit.
      > >
      > > For C++ (embedder memory) there is no estimate which is why it was
      > > piggy-backing on V8. This breaks in scenarios where no JS memory is
      > > allocated.
      > >
      > > In this fix we start a memory reducer after embedder memory has hit
      > > the activation threshold if no GC happened so far. As soon as a single
      > > Scavenger has happened, we leave it up to the JS estimate to figure
      > > out a limit. Memory reducing GCs will then find a regular limit based
      > > on the initial live size.
      > >
      > > Drive-by: Give embedders the same activiation threshold of 8MB as JS.
      > >
      > > Bug: chromium:1217076
      > > Change-Id: I8469696002ac2af8d75d6b47def062d2608387a1
      > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2944935
      > > Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
      > > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#75012}
      >
      > Bug: chromium:1217076
      > Change-Id: I482d8525379e33095834d5b41be8bb49bdd8a5d4
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2949094
      > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      > Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
      > Auto-Submit: Michael Lippautz <mlippautz@chromium.org>
      > Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#75048}
      
      Bug: chromium:1217076
      Change-Id: If920d6b2c54a0c9d67e55e276421e4694eb1414e
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2960218Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#75894}
      b125c943