[aarch64]: add support for fabd in sve

Programming / Compilers / GCC - rsandifo [138bc75d-0d04-0410-961f-82ee72b054a4] - 30 May 2019 17:36 EDT

This patch adds support in SVE to combine:- fsub and fabs into fabd

fsub z0.s, z0.s, z1.s fabs z0.s, p1/m, z0.s

fabd z0.s, p1/m, z0.s, z1.s

2019-05-30 Sylvia Taylor

gcc/
- config/aarch64/aarch64-sve.md (*fabd3): New.

gcc/testsuite/
- gcc.target/aarch64/sve/fabd_1.c: New.

d5b52410ce5 [aarch64]: add support for fabd in sve
gcc/ChangeLog | 4 +++
gcc/config/aarch64/aarch64-sve.md | 13 ++++++++++
gcc/testsuite/ChangeLog | 4 +++
gcc/testsuite/gcc.target/aarch64/sve/fabd_1.c | 35 +++++++++++++++++++++++++++
4 files changed, 56 insertions(+)

Upstream: gcc.gnu.org


  • Share