aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.cc
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@arm.com>2022-12-15 14:34:15 +0000
committerChristophe Lyon <christophe.lyon@arm.com>2023-05-05 16:12:01 +0200
commite2f992f7ce1318e695e1dea2b4ccc819a664dde8 (patch)
tree7e1e98c9d2463a885fe018c6695da7dbc7e427d5 /gcc/combine.cc
parentb0915fca0cdb713265eb61a239dca53d896e64f3 (diff)
downloadgcc-e2f992f7ce1318e695e1dea2b4ccc819a664dde8.zip
gcc-e2f992f7ce1318e695e1dea2b4ccc819a664dde8.tar.gz
gcc-e2f992f7ce1318e695e1dea2b4ccc819a664dde8.tar.bz2
arm: [MVE intrinsics] factorize vshrntq vshrnbq vrshrnbq vrshrntq vqshrnbq vqshrntq vqrshrnbq vqrshrntq
Factorize vqshrnbq, vqshrntq, vqrshrnbq, vqrshrntq, vshrntq, vshrnbq, vrshrnbq and vrshrntq so that they use the same pattern. Introduce <isu> iterator for *shrn* so that we can use the same pattern despite the different "s", "u" and "i" suffixes. 2022-09-08 Christophe Lyon <christophe.lyon@arm.com> gcc/ * config/arm/iterators.md (MVE_SHRN_N, MVE_SHRN_M_N): New. (mve_insn): Add vqrshrnb, vqrshrnt, vqshrnb, vqshrnt, vrshrnb, vrshrnt, vshrnb, vshrnt. (isu): New. * config/arm/mve.md (mve_vqrshrnbq_n_<supf><mode>) (mve_vqrshrntq_n_<supf><mode>, mve_vqshrnbq_n_<supf><mode>) (mve_vqshrntq_n_<supf><mode>, mve_vrshrnbq_n_<supf><mode>) (mve_vrshrntq_n_<supf><mode>, mve_vshrnbq_n_<supf><mode>) (mve_vshrntq_n_<supf><mode>): Merge into ... (@mve_<mve_insn>q_n_<supf><mode>): ... this. (mve_vqrshrnbq_m_n_<supf><mode>, mve_vqrshrntq_m_n_<supf><mode>) (mve_vqshrnbq_m_n_<supf><mode>, mve_vqshrntq_m_n_<supf><mode>) (mve_vrshrnbq_m_n_<supf><mode>, mve_vrshrntq_m_n_<supf><mode>) (mve_vshrnbq_m_n_<supf><mode>, mve_vshrntq_m_n_<supf><mode>): Merge into ... (@mve_<mve_insn>q_m_n_<supf><mode>): ... this.
Diffstat (limited to 'gcc/combine.cc')
0 files changed, 0 insertions, 0 deletions