v8/test/cctest/wasm
Ng Zhi An ba14c2f354 [wasm-simd][liftoff] Support SIMD locals
Add kWasmS128 to the list of supported types, and implement Fill for all
the architectures so that LocalGet works.

Add a new test file to contain tests that run only on Liftoff, and
assert that the code is indeed compiled by Liftoff.
We cannot rely on the nooptimization variant for testing
because by default, if Liftoff compilation fails, it will fall back to
Turbofan, and we accidentally get a test passing.

We skip these tests on mips architecture that don't support SIMD, since
there is no way to implement these, and we don't have a "lowering" phase
for Liftoff.

As we implement more of SIMD in Liftoff, we can add more
tests to this file and ensure correctness. Future patches will introduce
support for globals and params.

Bug: v8:9909
Change-Id: I7fc911f2d588d60c709ddb258b2efc1f22805fab
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1999470
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65768}
2020-01-14 21:11:08 +00:00
..
OWNERS [wasm] Update OWNERS 2020-01-08 14:56:06 +00:00
test-c-wasm-entry.cc [wasm-c-api] Faster C-to-Wasm entry 2019-06-27 13:39:48 +00:00
test-grow-memory.cc Reland x6 [arraybuffer] Rearchitect backing store ownership 2019-09-09 13:07:42 +00:00
test-jump-table-assembler.cc [codegen] Reduce kMinimalBufferSize and add kDefaultBufferSize 2019-11-14 15:05:31 +00:00
test-liftoff-inspection.cc [wasm] Extend debug side table with type information 2020-01-09 17:52:16 +00:00
test-run-wasm-64.cc [wasm] Remove flag for saturating conversions flag 2019-12-09 11:24:27 +00:00
test-run-wasm-asmjs.cc [Liftoff] List unsupported opcodes explicitly 2019-05-29 09:47:28 +00:00
test-run-wasm-atomics64.cc Make atomic operations effectful. 2019-07-31 16:12:04 +00:00
test-run-wasm-atomics.cc Make atomic operations effectful. 2019-07-31 16:12:04 +00:00
test-run-wasm-bulk-memory.cc [wasm][bulk-memory] Adjust bulk memory behavior to proposal phase 4 2019-12-03 12:21:48 +00:00
test-run-wasm-exceptions.cc [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
test-run-wasm-interpreter.cc [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
test-run-wasm-js.cc [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
test-run-wasm-module.cc [wasm] Refactor WasmFeatures 2019-11-26 17:36:11 +00:00
test-run-wasm-sign-extension.cc [wasm] Remove Sign Extension flag, and helper functions 2019-12-06 13:14:44 +00:00
test-run-wasm-simd-liftoff.cc [wasm-simd][liftoff] Support SIMD locals 2020-01-14 21:11:08 +00:00
test-run-wasm-simd.cc [wasm-simd] Implement load extend with 4 and 8 lanes on IA32 2020-01-14 02:17:36 +00:00
test-run-wasm.cc [wasm] Remove flag for saturating conversions flag 2019-12-09 11:24:27 +00:00
test-streaming-compilation.cc [API] Remove deprecated tasks API 2020-01-08 13:54:45 +00:00
test-wasm-breakpoints.cc Reland "[wasm] Prevent breakpoints on nonbreakable positions" 2019-11-21 12:33:43 +00:00
test-wasm-codegen.cc [wasm] Remove non-const arguments from module builder 2019-07-08 11:42:59 +00:00
test-wasm-import-wrapper-cache.cc Reland "[wasm] Share native modules compiled from the same bytes" 2019-12-18 14:40:28 +00:00
test-wasm-interpreter-entry.cc [cleanup] Eliminate non-const reference parameters 2019-09-10 09:31:07 +00:00
test-wasm-serialization.cc Deprecate SetAllowCodeGenerationFromStringsCallback. 2020-01-13 10:02:45 +00:00
test-wasm-shared-engine.cc [wasm] Refactor WasmFeatures 2019-11-26 17:36:11 +00:00
test-wasm-stack.cc V8 Wasm locations should always be based on byte offsets 2019-11-05 14:53:45 +00:00
test-wasm-trap-position.cc V8 Wasm locations should always be based on byte offsets 2019-11-05 14:53:45 +00:00
wasm-atomics-utils.h [wasm][cleanup] Using 'using' instead of 'typedef' 2019-03-29 10:20:30 +00:00
wasm-run-utils.cc Reland "[wasm] Share native modules compiled from the same bytes" 2019-12-18 14:40:28 +00:00
wasm-run-utils.h [wasm-simd][liftoff] Support SIMD locals 2020-01-14 21:11:08 +00:00