• Ng Zhi An's avatar
    Reland "[wasm-simd] Move test helpers into wasm-simd-utils" · ba5fafb0
    Ng Zhi An authored
    This is a reland of 9a6567b4
    
    The fix is to specialize float/double compare ops to fix msvc build.
    On msvc builds, we were selecting the overloaded Equal/NotEqual (etc)
    functions that takes float/double as arguments, but we intended to
    refer to the function templates.
    
    Original change's description:
    > [wasm-simd] Move test helpers into wasm-simd-utils
    >
    > Move many test helpers into wasm-simd-utils. These helper functions can
    > potentially be useful for relaxed-simd test in the future. I left behind
    > simd specific test helpers, like load extend helpers, because those are
    > for simd instructions.
    >
    > Bug: v8:11583,v8:11384
    > Change-Id: Id9ed452b06eaf5c97a5dda174b53a37aede2a937
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2783295
    > Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
    > Commit-Queue: Zhi An Ng <zhin@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#73675}
    
    Bug: v8:11583
    Bug: v8:11384
    Change-Id: Id8895900af2688aee8c67eb937acca12c2d65944
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2792668Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73779}
    ba5fafb0
wasm-simd-utils.h 7.27 KB