mbox series

[v6,0/2] Add support for SVE2 faminmax

Message ID 20241010121510.1845531-1-saurabh.jha@arm.com
Headers show
Series Add support for SVE2 faminmax | expand

Message

Saurabh Jha Oct. 10, 2024, 12:15 p.m. UTC
From: Saurabh Jha <saurabh.jha@arm.com>

This patch series is a revised version of:
https://gcc.gnu.org/pipermail/gcc-patches/2024-October/664912.html

In particular, the only changes are in the first patch, where in the
test cases of intrinsics, we removed unnecessary capture of regular
expression of operands. The second patch has been reviewed already.

Regression tested on aarch64-unknown-linux-gnu and found no regressions.

Ok for master?

Regards,
Saurabh

Saurabh Jha (2):
  aarch64: Add SVE2 faminmax intrinsics
  aarch64: Add codegen support for SVE2 faminmax

 .../aarch64/aarch64-sve-builtins-base.cc      |   4 +
 .../aarch64/aarch64-sve-builtins-base.def     |   5 +
 .../aarch64/aarch64-sve-builtins-base.h       |   2 +
 gcc/config/aarch64/aarch64-sve2.md            |  37 ++
 gcc/config/aarch64/aarch64.h                  |   1 +
 gcc/config/aarch64/iterators.md               |  24 +-
 .../gcc.target/aarch64/sve/faminmax_1.c       |  44 ++
 .../gcc.target/aarch64/sve/faminmax_2.c       |  60 +++
 .../aarch64/sve2/acle/asm/amax_f16.c          | 437 ++++++++++++++++++
 .../aarch64/sve2/acle/asm/amax_f32.c          | 437 ++++++++++++++++++
 .../aarch64/sve2/acle/asm/amax_f64.c          | 437 ++++++++++++++++++
 .../aarch64/sve2/acle/asm/amin_f16.c          | 437 ++++++++++++++++++
 .../aarch64/sve2/acle/asm/amin_f32.c          | 437 ++++++++++++++++++
 .../aarch64/sve2/acle/asm/amin_f64.c          | 437 ++++++++++++++++++
 14 files changed, 2798 insertions(+), 1 deletion(-)
 create mode 100644 gcc/testsuite/gcc.target/aarch64/sve/faminmax_1.c
 create mode 100644 gcc/testsuite/gcc.target/aarch64/sve/faminmax_2.c
 create mode 100644 gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/amax_f16.c
 create mode 100644 gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/amax_f32.c
 create mode 100644 gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/amax_f64.c
 create mode 100644 gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/amin_f16.c
 create mode 100644 gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/amin_f32.c
 create mode 100644 gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/amin_f64.c