Hi all,

In this PR the second argument to the intrinsics should be signed but we use an 
unsigned one erroneously.
The corresponding builtins are already using the correct types so it's just a 
matter of correcting the signatures
in arm_neon.h

Bootstrapped and tested on aarch64-none-linux-gnu.

Pushing to master.
Thanks,
Kyrill

gcc/
        PR target/97150
        * config/aarch64/arm_neon.h (vqrshlb_u8): Make second argument signed.
        (vqrshlh_u16): Likewise.
        (vqrshls_u32): Likewise.
        (vqrshld_u64): Likewise.
        (vqshlb_u8): Likewise.
        (vqshlh_u16): Likewise.
        (vqshls_u32): Likewise.
        (vqshld_u64): Likewise.
        (vshld_u64): Likewise.

gcc/testsuite/
        PR target/97150
        * gcc.target/aarch64/pr97150.c: New test.

Attachment: shift-sign.patch
Description: shift-sign.patch

Reply via email to