v8/test/cctest/wasm
Clemens Backes 852f43cd70 [wasm] Make opcode properties constexpr
This allows the compiler to eliminate more unneeded branches. Since all
functions just do a lookup in a static table (either directly, or via
compiling a switch to such a lookup), they are also good candidates for
inlining, which is made possible by this change.

One DCHECK is removed instead of pulling in the inl header, which would
require more refactoring since the check is in a non-inl header.

R=thibaudm@chromium.org
TBR=jkummerow@chromium.org

Bug: v8:10576
Change-Id: If0fd25fd62c5f30b896fc67a5458a5ae475a6351
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2259944
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68508}
2020-06-24 11:58:22 +00:00
..
OWNERS [wasm] Update OWNERS 2020-01-08 14:56:06 +00:00
test-c-wasm-entry.cc [wasm-simd] Add JS-API errors for Simd, tests 2020-06-16 00:27:48 +00:00
test-compilation-cache.cc Reland "Reland "[wasm] Cache streaming compilation result"" 2020-02-03 13:49:18 +00:00
test-gc.cc [wasm-gc] Implement rtt.canon 2020-06-23 15:04:23 +00:00
test-grow-memory.cc [wasm] Fix capitalization of "Wasm" 2020-03-31 06:55:16 +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][debug] Store "for debugging" flag on compilation unit 2020-04-14 13:58:59 +00:00
test-run-wasm-64.cc [wasm] Turn ValueType from an enum to a class 2020-03-12 17:03:16 +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 [wasm][liftoff][arm] Implement CompareExchange 2020-05-06 10:11:49 +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] Rename anyref to externref, anyref flag/feature to reftypes 2020-06-09 17:51:04 +00:00
test-run-wasm-exceptions.cc [wasm] Prepare tests for flipping the wasm-bigint flag 2020-06-12 18:12:42 +00:00
test-run-wasm-interpreter.cc [wasm] Remove immediate of ref.is_null 2020-06-23 14:32:13 +00:00
test-run-wasm-js.cc [wasm] Remove interpreter entry code 2020-05-05 11:18:05 +00:00
test-run-wasm-module.cc [wasm-gc] Change reference type encoding to match proposal spec 2020-06-19 17:47:17 +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][arm] Implement s8x16shuffle 2020-06-22 17:08:12 +00:00
test-run-wasm-simd-scalar-lowering.cc [wasm-simd] Scalar lowering to convert i8x16 to f32x4 2020-05-07 17:09:53 +00:00
test-run-wasm-simd.cc [wasm-simd][arm] Prototype f32x4.trunc 2020-06-23 23:56:13 +00:00
test-run-wasm.cc [wasm] Make opcode properties constexpr 2020-06-24 11:58:22 +00:00
test-streaming-compilation.cc [wasm] Do not log code of functions whose module is not fully loaded 2020-06-15 09:23:48 +00:00
test-wasm-breakpoints.cc [wasm][debug] Pass pointer for detected features 2020-06-15 08:54:12 +00:00
test-wasm-codegen.cc [wasm] Deprecate unused {DeserializeOrCompile} API 2020-01-22 08:46:23 +00:00
test-wasm-debug-evaluate.cc [wasm] Move interpreter to test directory 2020-06-23 08:48:14 +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-serialization.cc [wasm] Set source url when deserializing wasm module 2020-04-22 07:12:18 +00:00
test-wasm-shared-engine.cc [wasm] Store the source URL in CompiledWasmModule 2020-05-04 15:07:21 +00:00
test-wasm-stack.cc [wasm] Remove interpreter entry code 2020-05-05 11:18:05 +00:00
test-wasm-trap-position.cc [wasm] Remove interpreter entry code 2020-05-05 11:18:05 +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 [wasm] Instantiate interpreter for testing directly 2020-06-09 13:04:32 +00:00
wasm-run-utils.h [wasm] Move interpreter to test directory 2020-06-23 08:48:14 +00:00