• Ng Zhi An's avatar
    [wasm-relaxed-simd][x64] Prototype relaxed min and max · c3f346b7
    Ng Zhi An authored
    Relaxed f32x4 and f64x2 min and max.
    
    These instructions only guarantee results when the inputs are non nans,
    and when the inputs are not 0s of opposite signs.
    
    Reuse existing float binop testing harnesses and add special checks for
    such constants when relaxed operations are being tested.
    
    Drive-by rename of x64 instruction codes to be Minps/Maxps/Minpd/Maxpd
    since they map down exactly to a single instruction.
    
    Bug: v8:12284
    Change-Id: I1449dbfa87935a96d7d260db22667ab7b9e86601
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3218196Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77484}
    c3f346b7
test-run-wasm-simd.cc 146 KB