• Ng Zhi An's avatar
    [wasm-simd][arm] Prototype f32x4.ceil · d9381fd6
    Ng Zhi An authored
    Prototype f32x4.ceil on ARM for both ARM v7 and ARM v8. ARM v8 has
    support for vrintp, and for ARM v7 we fallback to runtime.
    
    Since ARM v8 uses vrintp, which is the same instruction used for F32
    Ceil (scalar), wasm-compiler reuses the Float32Round check, rather than
    creating new F32x4Round optional operators.
    
    Implementation for vrintp (Advanced SIMD version that takes Q
    registers), assembler, disassembler support. Incomplete for now, but
    more will be added as we add other rounding modes.
    
    Bug: v8:10553
    Change-Id: I4563608b9501f6f57c3a8325b17de89da7058a43
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2248779Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
    Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#68419}
    d9381fd6
test-disasm-arm.cc 67 KB