• bbudge's avatar
    [WASM] Fix failing Wasm SIMD F32x4 tests. · 5560bbb4
    bbudge authored
    - 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:4124
    
    Review-Url: https://codereview.chromium.org/2594043002
    Cr-Commit-Position: refs/heads/master@{#42154}
    5560bbb4
test-run-wasm-simd.cc 17 KB