1. 12 Jan, 2021 1 commit
  2. 07 Jan, 2021 1 commit
  3. 10 Dec, 2020 2 commits
  4. 24 Sep, 2020 1 commit
    • Clemens Backes's avatar
      [wasm][memory64] Start implementing the memory64 proposal · 18da0875
      Clemens Backes authored
      This is a first small step for implementing the memory64 proposal:
      1. Add a feature flag.
      2. Add the 0x04 and 0x05 limits flag for memory64.
      3. Read memory limits as LEB-encoded u64 (instead of u32) if a memory64
         limit flag was read.
      4. Unify {MaximumFlag} and {MemoryFlag}, which was used inconsistently
         before.
      5. Add test for memory limits encoded with >5 bytes.
      6. Move some macros from module-decoder-unittest.cc to wasm-macro-gen.h.
      
      Note that still the same limits for the maximum number of pages applies
      as before, i.e. you cannot specify a memory >4GB yet. But you can encode
      that small number in >5 bytes.
      
      R=manoskouk@chromium.org
      
      Bug: v8:10949
      Change-Id: I90a4f08426ae714a67440281785eb00cfc24a349
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2423712
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Reviewed-by: 's avatarManos Koukoutos <manoskouk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#70110}
      18da0875
  5. 10 Sep, 2020 1 commit
    • Ng Zhi An's avatar
      Reland "[wasm-simd] Stage SIMD" · 36138aff
      Ng Zhi An authored
      This reverts commit e8976cf9.
      
      Reason for revert: Mark f32x4_cmp as fail, lowering is not fully implemented yet.
      
      Original change's description:
      > Revert "[wasm-simd] Stage SIMD"
      > 
      > This reverts commit 1d2726dd.
      > 
      > Reason for revert: ODROID failure: https://ci.chromium.org/p/v8/builders/ci/V8%20Arm%20-%20debug/15814?
      > 
      > Original change's description:
      > > [wasm-simd] Stage SIMD
      > > 
      > > SIMD has been pretty stable for a while now, we are not expecting big
      > > changes (like opcode renumbers), there might be new instructions added,
      > > and they will all be backwards-compatible.
      > > 
      > > The reference interpreter in the SIMD proposal is now capable of
      > > generating JS files for all test cases, so we can now run them.
      > > 
      > > There is a bit of tweaking necessary, since SIMD tests are in
      > > tests/core/simd subfolder in the spec, so we need to change the glob
      > > into a find that will traverse into subdirectory.
      > > 
      > > Bug: v8:10835
      > > Change-Id: I1f7e3cf37f21b2aa2537d1e34242da2373bbf626
      > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2378587
      > > Commit-Queue: Zhi An Ng <zhin@chromium.org>
      > > Reviewed-by: Andreas Haas <ahaas@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#69793}
      > 
      > TBR=bbudge@chromium.org,ahaas@chromium.org,zhin@chromium.org
      > 
      > Change-Id: I3a90c616109ca048691d97ab45698bc15a678e18
      > No-Presubmit: true
      > No-Tree-Checks: true
      > No-Try: true
      > Bug: v8:10835
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2402379
      > Reviewed-by: Shu-yu Guo <syg@chromium.org>
      > Commit-Queue: Shu-yu Guo <syg@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#69794}
      
      TBR=bbudge@chromium.org,ahaas@chromium.org,zhin@chromium.org,syg@chromium.org
      
      # Not skipping CQ checks because this is a reland.
      
      Bug: v8:10835
      Change-Id: I3d87dd2adba6ada2ec3ebf5e13bff378a74b03e8
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2402386Reviewed-by: 's avatarZhi An Ng <zhin@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Zhi An Ng <zhin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#69817}
      36138aff
  6. 09 Sep, 2020 2 commits
    • Shu-yu Guo's avatar
      Revert "[wasm-simd] Stage SIMD" · e8976cf9
      Shu-yu Guo authored
      This reverts commit 1d2726dd.
      
      Reason for revert: ODROID failure: https://ci.chromium.org/p/v8/builders/ci/V8%20Arm%20-%20debug/15814?
      
      Original change's description:
      > [wasm-simd] Stage SIMD
      > 
      > SIMD has been pretty stable for a while now, we are not expecting big
      > changes (like opcode renumbers), there might be new instructions added,
      > and they will all be backwards-compatible.
      > 
      > The reference interpreter in the SIMD proposal is now capable of
      > generating JS files for all test cases, so we can now run them.
      > 
      > There is a bit of tweaking necessary, since SIMD tests are in
      > tests/core/simd subfolder in the spec, so we need to change the glob
      > into a find that will traverse into subdirectory.
      > 
      > Bug: v8:10835
      > Change-Id: I1f7e3cf37f21b2aa2537d1e34242da2373bbf626
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2378587
      > Commit-Queue: Zhi An Ng <zhin@chromium.org>
      > Reviewed-by: Andreas Haas <ahaas@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#69793}
      
      TBR=bbudge@chromium.org,ahaas@chromium.org,zhin@chromium.org
      
      Change-Id: I3a90c616109ca048691d97ab45698bc15a678e18
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:10835
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2402379Reviewed-by: 's avatarShu-yu Guo <syg@chromium.org>
      Commit-Queue: Shu-yu Guo <syg@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#69794}
      e8976cf9
    • Ng Zhi An's avatar
      [wasm-simd] Stage SIMD · 1d2726dd
      Ng Zhi An authored
      SIMD has been pretty stable for a while now, we are not expecting big
      changes (like opcode renumbers), there might be new instructions added,
      and they will all be backwards-compatible.
      
      The reference interpreter in the SIMD proposal is now capable of
      generating JS files for all test cases, so we can now run them.
      
      There is a bit of tweaking necessary, since SIMD tests are in
      tests/core/simd subfolder in the spec, so we need to change the glob
      into a find that will traverse into subdirectory.
      
      Bug: v8:10835
      Change-Id: I1f7e3cf37f21b2aa2537d1e34242da2373bbf626
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2378587
      Commit-Queue: Zhi An Ng <zhin@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#69793}
      1d2726dd
  7. 21 Aug, 2020 1 commit
  8. 18 Aug, 2020 1 commit
  9. 17 Aug, 2020 1 commit
  10. 22 Jun, 2020 2 commits
  11. 09 Jun, 2020 1 commit
  12. 19 May, 2020 1 commit
    • Emanuel Ziegler's avatar
      [wasm] Implement optional init parameter for Table.grow · 4372a9b5
      Emanuel Ziegler authored
      The typed function references proposal allows an optional second
      parameter to Table.grow containing the initialization value for the
      newly added entries for tables that do not support null defaults.
      
      This CL adds this functionality but hides it behind a newly added
      experimental flag --experimental-wasm-typed-funcref.
      
      R=ahaas@chromium.org
      CC=jkummerow@chromium.org
      CC=manoskouk@chromium.org
      
      Bug: v8:9495
      Change-Id: Ia156aeacf95bc36a9fc182990f315c42075cbb7b
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2207184
      Commit-Queue: Emanuel Ziegler <ecmziegler@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#67900}
      4372a9b5
  13. 17 Apr, 2020 1 commit
  14. 08 Jan, 2020 1 commit
  15. 09 Dec, 2019 2 commits
  16. 06 Dec, 2019 1 commit
  17. 22 Oct, 2019 1 commit
  18. 05 Sep, 2019 1 commit
    • Andreas Haas's avatar
      Reland [wasm] Stage wasm-bigint · 69719dd4
      Andreas Haas authored
      There was no problem with the original CL. I just had a problem with
      my local git branches.
      
      Original message:
      
      The implementation on wasm-bigint has been done, as far as I can tell.
      There are no spec tests yet, only an out-dated copy of the original
      spec tests which don't pass anymore. Therefore I disabled all the tests
      for now and created a tracking bug at https://crbug.com/v8/9673.
      
      TBR=adamk@chromium.org
      
      Bug: v8:7741, v8:9673
      Change-Id: Ida7ccda4547cf3fdcdff151d8b02946b7aa534ca
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1787420Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Andreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#63575}
      69719dd4
  19. 28 Aug, 2019 1 commit
  20. 22 Aug, 2019 1 commit
  21. 06 Aug, 2019 1 commit
  22. 11 Apr, 2019 1 commit
  23. 18 Mar, 2019 1 commit
  24. 15 Mar, 2019 1 commit
  25. 13 Mar, 2019 1 commit
  26. 14 Feb, 2019 1 commit
  27. 10 Jan, 2019 1 commit
  28. 11 Dec, 2018 1 commit
  29. 12 Nov, 2018 1 commit
  30. 09 Aug, 2018 1 commit
    • Ben L. Titzer's avatar
      [wasm] Add WasmFeatures to enable/detect features · 6aa2a253
      Ben L. Titzer authored
      This CL introduces a set of configuration options implemented as
      a struct of booleans that together comprise the set of enabled
      or detected features. The configuration options replace command-line
      flags that were checked deep in the implementation. As such, it is
      necessary to plumb them through multiple levels of abstraction.
      
      R=ahaas@chromium.org
      CC=mstarzinger@chromium.org
      BUG=chromium:868844
      
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
      Change-Id: I1b82f5826e4fd263f68e8cafcd923bac5818a637
      Reviewed-on: https://chromium-review.googlesource.com/1163670Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Ben Titzer <titzer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#55018}
      6aa2a253