v8/test/cctest/wasm
Ng Zhi An f3cbcdb24b [wasm-simd] Fix f64x2 replace lane
There are a couple of bugs here:

1. The immediate used for vinsertps is wrong when lane == 1, the first
two bits specify which element of the source is copied, and it should
always be 00, 01 to copy the first 2 lanes of source.
2. For both cases, the second insertps call should be using dst as the
src, since dst was already updated by the first insertps call, it was
incorrectly using the old value of src. This was probably working
correctly because in many cases dst and src happened to be the same
register.
3. rep cannot be same as dst, because dst is overwritten, and rep should
stay the same

I also modified the F64x2ReplaceLane to test separately for replacing
lane 0 and lane 1.

Fixed bug 3. for arm and arm64.

Bug: v8:9728
Change-Id: Iec6e48bcfbc7d27908dd86d5f113a8b5dedd499b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1877055
Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64620}
2019-10-29 16:50:27 +00:00
..
OWNERS Rename clemensh to clemensb in OWNERS 2019-09-26 08:44:44 +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 [wasm] Increase maximum code space on arm64 2019-09-25 10:44:35 +00:00
test-run-wasm-64.cc [wasm] Rename {Get,Set,Tee}Local to Local{Get,Set,Tee} 2019-10-08 14:14:40 +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 [cleanup] Eliminate non-const reference parameters 2019-09-10 09:31:07 +00:00
test-run-wasm-exceptions.cc [wasm][anyref] Cache export wrappers per signature 2019-05-22 14:59:50 +00:00
test-run-wasm-interpreter.cc [wasm] Rename {Get,Set,Tee}Local to Local{Get,Set,Tee} 2019-10-08 14:14:40 +00:00
test-run-wasm-js.cc [wasm][anyref] Cache export wrappers per signature 2019-05-22 14:59:50 +00:00
test-run-wasm-module.cc [wasm] Move {WasmModuleObject::DisassembleFunction}. 2019-09-18 09:29:34 +00:00
test-run-wasm-sign-extension.cc [wasm] Unify all enums representing execution tiers 2018-08-21 15:45:18 +00:00
test-run-wasm-simd.cc [wasm-simd] Fix f64x2 replace lane 2019-10-29 16:50:27 +00:00
test-run-wasm.cc [wasm] Rename {Get,Set,Tee}Local to Local{Get,Set,Tee} 2019-10-08 14:14:40 +00:00
test-streaming-compilation.cc [wasm] Rename {Get,Set,Tee}Local to Local{Get,Set,Tee} 2019-10-08 14:14:40 +00:00
test-wasm-breakpoints.cc [wasm] Move breakpoint functions onto {WasmScript}. 2019-10-16 08:44:52 +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 [wasm] Allocate one far jump table per code space 2019-09-12 06:27:26 +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 [wasm] Remove --wasm-shared-engine runtime flag. 2019-10-16 14:15:45 +00:00
test-wasm-shared-engine.cc Replace base::make_unique by std::make_unique 2019-09-10 11:21:51 +00:00
test-wasm-stack.cc [stack-trace] Change column number for wasm frames to module offset 2019-06-14 11:33:18 +00:00
test-wasm-trap-position.cc [stack-trace] Change column number for wasm frames to module offset 2019-06-14 11:33:18 +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 [roheap] Add Isolate parameter to Code::Disassemble 2019-09-25 10:46:45 +00:00
wasm-run-utils.h [asm.js] Propagate language mode to exported functions. 2019-07-19 11:47:48 +00:00