1. 14 Aug, 2020 3 commits
  2. 13 Aug, 2020 1 commit
  3. 11 Aug, 2020 3 commits
  4. 10 Aug, 2020 3 commits
  5. 06 Aug, 2020 1 commit
    • Clemens Backes's avatar
      [wasm] Remove ExecutionTier::kInterpreter · 0c918bd8
      Clemens Backes authored
      The interpreter is not an execution tier in production any more. It's
      only used in tests.
      Thus, remove {ExecutionTier::kInterpreter} and instead add a
      {TestExecutionTier} that still has {kInterpreter}.
      
      If needed (in {TestingModuleBuilder::execution_tier()}), we translate
      back from {TestExecutionTier} to {ExecutionTier} (for {kLiftoff} and
      {kTurboFan} only).
      
      The {TraceMemoryOperation} method, which is shared between interpreter
      and production code, now receives a {base::Optional<ExecutionTier>}, and
      we will just pass en empty optional if called from the interpreter.
      
      R=thibaudm@chromium.org
      
      Bug: v8:10389
      Change-Id: Ibe133b91e8dca6d6edbfaee5ffa0d7fe72ed6d64
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2335186Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#69260}
      0c918bd8
  6. 04 Aug, 2020 1 commit
  7. 28 Jul, 2020 1 commit
  8. 24 Jul, 2020 1 commit
  9. 22 Jul, 2020 1 commit
  10. 21 Jul, 2020 4 commits
  11. 10 Jul, 2020 1 commit
  12. 02 Jul, 2020 2 commits
  13. 01 Jul, 2020 4 commits
  14. 30 Jun, 2020 2 commits
  15. 29 Jun, 2020 2 commits
  16. 26 Jun, 2020 3 commits
    • Shu-yu Guo's avatar
      Revert "[wasm-gc] Implement rtt.sub" · 30456566
      Shu-yu Guo authored
      This reverts commit 04ce88ea.
      
      Reason for revert: TSAN failure: https://ci.chromium.org/p/v8/builders/ci/V8%20Linux64%20TSAN/32135
      
      Original change's description:
      > [wasm-gc] Implement rtt.sub
      > 
      > RTTs are internally represented as Maps. To store supertype information,
      > this patch introduces a WasmTypeInfo object, which is installed on Wasm
      > objects' Maps and points at both the off-heap type information and the
      > parent RTT.
      > In this patch, rtt.sub always creates a fresh RTT. The canonicalization
      > that the proposal requires will be implemented later.
      > 
      > Bug: v8:7748
      > Change-Id: I8286dd11f520966155cd95c2bd844ec34fccd131
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2260566
      > Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
      > Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
      > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#68564}
      
      TBR=ulan@chromium.org,jkummerow@chromium.org,tebbi@chromium.org
      
      Change-Id: I311732e1ced4de7a58b87d4a9b6056e0d62aa986
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:7748
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2270734Reviewed-by: 's avatarShu-yu Guo <syg@chromium.org>
      Commit-Queue: Shu-yu Guo <syg@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#68567}
      30456566
    • Jakob Kummerow's avatar
      [wasm-gc] Implement rtt.sub · 04ce88ea
      Jakob Kummerow authored
      RTTs are internally represented as Maps. To store supertype information,
      this patch introduces a WasmTypeInfo object, which is installed on Wasm
      objects' Maps and points at both the off-heap type information and the
      parent RTT.
      In this patch, rtt.sub always creates a fresh RTT. The canonicalization
      that the proposal requires will be implemented later.
      
      Bug: v8:7748
      Change-Id: I8286dd11f520966155cd95c2bd844ec34fccd131
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2260566
      Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#68564}
      04ce88ea
    • Manos Koukoutos's avatar
      [wasm][refactor] Rework immediate-argument abstractions · 55ddbaa0
      Manos Koukoutos authored
      Motivation:
      The immediate-argument classes defined in function-body-decoder.h were
      often adding an offset to the provided pc. This was inconsistent,
      bug-prone, and counterintuitive. This CL imposes that all immediates
      are passed as pc the start of the immediate argument they are parsing.
      Some other smaller inconsistencies are fixed as well.
      
      Changes:
      
      src/wasm/:
      - Enforce that all Immediates are passed the pc at the start of the
        argument they are parsing. Adapt all call sites.
      - Remove unneeded offset arguments from two SIMD related immediates.
      - Add a pc argument to all Validate functions for immediates instead
        of using the Decoder's current pc.
      - Remove the (unused) pc argument from all Complete functions for
        immediates.
      - Introduce Validate() for BranchOnExceptionImmediate.
      - In WasmDecoder::Decode(), make sure len is updated before breaking out
        of the loop in case of a Validate() failure.
      - Change the default prefix_len of DecodeLoadMem/DecodeStoreMem to 1.
      
      wasm-interpreter.cc:
      - Change the default prefix_len of ExecuteLoad/Store to 1.
      - Adapt offsets in calls to Immediates.
      - Remove redundant opcode_length argument from ExecuteSimdOp, use len
        in its place.
      
      function-body-decoder-unittest.cc
      - Adapt offsets in calls to Immediates.
      - Introduce and use EXPECT_OK, as is done in other tests.
      
      Change-Id: I534606c0e238af309804d4a7c8cec75b1e49c6ad
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2267381
      Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#68559}
      55ddbaa0
  17. 25 Jun, 2020 2 commits
  18. 24 Jun, 2020 5 commits