v8/test/wasm-spec-tests
Ng Zhi An 894bf6df72 [wasm-simd][scalar-lowering] Fix lowering of narrowing
Narrowing operations need to sign extend the result.

E.g. for narrowing uint16 to uint8, we compare uint16 to uint8 max,
0xff. The final result should be 0xffffffff (sign extended) since we
try to keep nodes in their sign extended form, to work well with
the rest of the lowering operations.

With this, we pass the last spec test (that is not ignored),
simd_conversions.

Bug: v8:10507
Change-Id: I8914fd69db9378b8244cba5dcacff98d36893649
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2436613
Reviewed-by: Bill Budge <bbudge@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70272}
2020-10-01 21:01:56 +00:00
..
BUILD.gn [build] Add data deps for d8 test suites 2018-03-26 13:44:58 +00:00
OWNERS [wasm] Update OWNERS 2020-01-08 14:56:06 +00:00
testcfg.py Reland "[wasm-simd] Stage SIMD" 2020-09-10 16:04:35 +00:00
tests.tar.gz.sha1 Revert "[wasm] Update spec tests" 2020-10-01 07:35:51 +00:00
wasm-spec-tests.status [wasm-simd][scalar-lowering] Fix lowering of narrowing 2020-10-01 21:01:56 +00:00