https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97150

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kyrylo Tkachov <ktkac...@gcc.gnu.org>:

https://gcc.gnu.org/g:2d8fbebdb1eaca8de557ab3052535a8e4b8f8972

commit r11-3548-g2d8fbebdb1eaca8de557ab3052535a8e4b8f8972
Author: Kyrylo Tkachov <kyrylo.tkac...@arm.com>
Date:   Wed Sep 30 12:01:23 2020 +0100

    PR target/97150 AArch64: 2nd parameter of unsigned Neon scalar shift
intrinsics should be signed

    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

    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.

Reply via email to