[GCC][AARCH64] Canonicalize aarch64 widening simd plus insns

Programming / Compilers / GCC - ktkachov [138bc75d-0d04-0410-961f-82ee72b054a4] - 24 July 2018 15:37 EDT

Committed on behalf of matthew.malcomson@arm.com

2018-07-24 Matthew Malcomson

- config/aarch64/aarch64-simd.md (aarch64_w): Split into... (aarch64_subw): ... This... (aarch64_addw): ... And this. (aarch64_w_internal): Split into... (aarch64_subw_internal): ... This... (aarch64_addw_internal): ... And this. (aarch64_w2_internal): Split into... (aarch64_subw2_internal): ... This... (aarch64_addw2_internal): ... And this.

- gcc.target/aarch64/vect-su-add-sub.c: New.

18891c646df [GCC][AARCH64] Canonicalize aarch64 widening simd plus insns
gcc/ChangeLog | 13 ++++
gcc/config/aarch64/aarch64-simd.md | 80 ++++++++++++++++------
gcc/testsuite/ChangeLog | 4 ++
.../gcc.target/aarch64/simd/vect_su_add_sub.c | 49 +++++++++++++
4 files changed, 124 insertions(+), 22 deletions(-)

Upstream: gcc.gnu.org


  • Share