Hi all,

Continuing the series of straightforward annotations, this one handles the 
normal (not widening or narrowing) vector shifts.
Tests included.

Bootstrapped and tested on aarch64-none-linux-gnu and aarch64_be-none-elf.
Pushing to trunk.
Thanks,
Kyrill

gcc/ChangeLog:

        PR target/99195
        * config/aarch64/aarch64-simd.md (aarch64_simd_lshr<mode>): Rename to...
        (aarch64_simd_lshr<mode><vczle><vczbe>): ... This.
        (aarch64_simd_ashr<mode>): Rename to...
        (aarch64_simd_ashr<mode><vczle><vczbe>): ... This.
        (aarch64_simd_imm_shl<mode>): Rename to...
        (aarch64_simd_imm_shl<mode><vczle><vczbe>): ... This.
        (aarch64_simd_reg_sshl<mode>): Rename to...
        (aarch64_simd_reg_sshl<mode><vczle><vczbe>): ... This.
        (aarch64_simd_reg_shl<mode>_unsigned): Rename to...
        (aarch64_simd_reg_shl<mode>_unsigned<vczle><vczbe>): ... This.
        (aarch64_simd_reg_shl<mode>_signed): Rename to...
        (aarch64_simd_reg_shl<mode>_signed<vczle><vczbe>): ... This.
        (vec_shr_<mode>): Rename to...
        (vec_shr_<mode><vczle><vczbe>): ... This.
        (aarch64_<sur>shl<mode>): Rename to...
        (aarch64_<sur>shl<mode><vczle><vczbe>): ... This.
        (aarch64_<sur>q<r>shl<mode>): Rename to...
        (aarch64_<sur>q<r>shl<mode><vczle><vczbe>): ... This.

gcc/testsuite/ChangeLog:

        * gcc.target/aarch64/simd/pr99195_1.c: Add testing for shifts.
        * gcc.target/aarch64/simd/pr99195_6.c: Likewise.
        * gcc.target/aarch64/simd/pr99195_8.c: New test.

Attachment: shift.patch
Description: shift.patch

Reply via email to