Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Issue 2594043002: [WASM] Fix failing Wasm SIMD F32x4 tests. (Closed)

Created:
4 years ago by bbudge
Modified:
3 years, 9 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[WASM] Fix failing Wasm SIMD F32x4 tests. - Perform lane checks using FP compare instead of reinterpret casts. 0 and -0 will be different under I32 compare. - Some arithmetic operations can generate NaN results, such as adding -Inf and +Inf. Skip these tests until we have a way to do more sophisticated FP comparisons in the SIMD tests. - Eliminate a redundant F32x4 parameter for FP SIMD vector checking. We will only have this one FP type. LOG=N BUG=v8:6020 Review-Url: https://codereview.chromium.org/2594043002 Cr-Original-Commit-Position: refs/heads/master@{#42154} Committed: https://chromium.googlesource.com/v8/v8/+/5560bbb498252334595a39bb5f313ac8eb82cfe1 Review-Url: https://codereview.chromium.org/2594043002 Cr-Commit-Position: refs/heads/master@{#43528} Committed: https://chromium.googlesource.com/v8/v8/+/f3d26d3d552fb3408f0a94e415c3f4efc0a76dfb

Patch Set 1 #

Patch Set 2 : Use F32 comparison for FP ops. Eliminate redundant parameter in macros for F32x4. #

Patch Set 3 : Change macro names to a more sensible form. #

Patch Set 4 : Tweak comments, fix test of compare op to skip NaNs. #

Patch Set 5 : F32x4Splat should now skip NaNs. #

Patch Set 6 : Re-enable skipped tests. #

Patch Set 7 : Rebase. #

Patch Set 8 : Rebase. #

Patch Set 9 : Eliminate WASM_BLOCKs #

Patch Set 10 : Set threshold for test values. #

Patch Set 11 : Skip NaN arguments in FP tests for now. #

Patch Set 12 : Add more comments on FP test helpers. #

Patch Set 13 : Make code a bit more self explanatory. #

Patch Set 14 : Rebase. #

Patch Set 15 : Fix bad merge. #

Patch Set 16 : Re-enable F32x4 tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -56 lines) Patch
M test/cctest/cctest.status View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -4 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-simd.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 12 chunks +57 lines, -52 lines 0 comments Download

Messages

Total messages: 79 (66 generated)
bbudge
My previous fix was sufficient for FP comparison. However, add, subtract and other arithmetic ops ...
4 years ago (2016-12-21 19:09:10 UTC) #4
titzer
lgtm
3 years, 11 months ago (2017-01-09 09:07:12 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2594043002/130001
3 years, 11 months ago (2017-01-09 23:08:47 UTC) #34
commit-bot: I haz the power
Committed patchset #7 (id:130001) as https://chromium.googlesource.com/v8/v8/+/5560bbb498252334595a39bb5f313ac8eb82cfe1
3 years, 11 months ago (2017-01-09 23:11:24 UTC) #37
bbudge
A revert of this CL (patchset #7 id:130001) has been created in https://codereview.chromium.org/2624713002/ by bbudge@chromium.org. ...
3 years, 11 months ago (2017-01-10 09:34:24 UTC) #38
bbudge
+Brad, -Ben This should get SIMD FP tests green on ARM hardware. It skips testing ...
3 years, 9 months ago (2017-03-01 00:59:51 UTC) #48
bbudge
On 2017/03/01 00:59:51, bbudge wrote: > +Brad, -Ben > > This should get SIMD FP ...
3 years, 9 months ago (2017-03-01 01:15:03 UTC) #49
bbudge
I'm going ahead and landing this, as a lot of FP stuff will soon be ...
3 years, 9 months ago (2017-03-01 23:04:51 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2594043002/290001
3 years, 9 months ago (2017-03-01 23:05:12 UTC) #69
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2594043002/310001
3 years, 9 months ago (2017-03-01 23:08:11 UTC) #73
aseemgarg
lgtm
3 years, 9 months ago (2017-03-01 23:13:33 UTC) #75
commit-bot: I haz the power
Committed patchset #16 (id:310001) as https://chromium.googlesource.com/v8/v8/+/f3d26d3d552fb3408f0a94e415c3f4efc0a76dfb
3 years, 9 months ago (2017-03-01 23:31:55 UTC) #78
Michael Achenbach
3 years, 9 months ago (2017-03-07 07:58:46 UTC) #79
Message was sent while issue was closed.
FYI: This fails on arm chromebooks:
https://build.chromium.org/p/client.v8.ports/builders/V8%20Arm/builds/2324

Powered by Google App Engine
This is Rietveld 408576698