Hi all,

aarch64_simd_rsra_rnd_imm_vec is now used for more than just RSRA
and accepts more than just vectors so rename it to make it more
truthful.
The aarch64_simd_rshrn_imm_vec is now unused and can be deleted.
No behavioural change intended.

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

gcc/ChangeLog:

        * config/aarch64/aarch64-protos.h (aarch64_const_vec_rsra_rnd_imm_p):
        Rename to...
        (aarch64_rnd_imm_p): ... This.
        * config/aarch64/predicates.md (aarch64_simd_rsra_rnd_imm_vec):
        Rename to...
        (aarch64_int_rnd_operand): ... This.
        (aarch64_simd_rshrn_imm_vec): Delete.
        * config/aarch64/aarch64-simd.md (aarch64_<sra_op>rsra_n<mode>_insn):
        Adjust for the above.
        (aarch64_<sra_op>rshr_n<mode><vczle><vczbe>_insn): Likewise.
        (*aarch64_<shrn_op>rshrn_n<mode>_insn): Likewise.
        (*aarch64_sqrshrun_n<mode>_insn<vczle><vczbe>): Likewise.
        (aarch64_sqrshrun_n<mode>_insn): Likewise.
        (aarch64_<shrn_op>rshrn2_n<mode>_insn_le): Likewise.
        (aarch64_<shrn_op>rshrn2_n<mode>_insn_be): Likewise.
        (aarch64_sqrshrun2_n<mode>_insn_le): Likewise.
        (aarch64_sqrshrun2_n<mode>_insn_be): Likewise.
        * config/aarch64/aarch64.cc (aarch64_const_vec_rsra_rnd_imm_p):
        Rename to...
        (aarch64_rnd_imm_p): ... This.

Attachment: rnd-imm.patch
Description: rnd-imm.patch

Reply via email to