From: Saurabh Jha <saurabh....@arm.com> This patch series is a respin of https://gcc.gnu.org/pipermail/gcc-patches/2024-August/661672.html.
The new version addresses comment about using AARCH64_PRAGMA_BUILTIN_START and AARCH64_PRAGMA_BUILTIN_END in aarch64_builtins enum. Apart from the function expand_pragma_builtin where we need to use faminmax specific enum values to distinguish between different unspec values, we are using the new enum values everywhere else. Nothing else is changed in the first patch and nothing is changed in the second patch. Saurabh Jha (2): aarch64: Add AdvSIMD faminmax intrinsics aarch64: Add codegen support for AdvSIMD faminmax gcc/config/aarch64/aarch64-builtins.cc | 79 +++++++ .../aarch64/aarch64-option-extensions.def | 2 + .../aarch64/aarch64-simd-pragma-builtins.def | 31 +++ gcc/config/aarch64/aarch64-simd.md | 21 ++ gcc/config/aarch64/aarch64.h | 4 + gcc/config/aarch64/iterators.md | 12 + gcc/config/arm/types.md | 6 + gcc/doc/invoke.texi | 2 + .../aarch64/simd/faminmax-builtins-no-flag.c | 10 + .../aarch64/simd/faminmax-builtins.c | 115 ++++++++++ .../aarch64/simd/faminmax-codegen-no-flag.c | 217 ++++++++++++++++++ .../aarch64/simd/faminmax-codegen.c | 197 ++++++++++++++++ 12 files changed, 696 insertions(+) create mode 100644 gcc/config/aarch64/aarch64-simd-pragma-builtins.def create mode 100644 gcc/testsuite/gcc.target/aarch64/simd/faminmax-builtins-no-flag.c create mode 100644 gcc/testsuite/gcc.target/aarch64/simd/faminmax-builtins.c create mode 100644 gcc/testsuite/gcc.target/aarch64/simd/faminmax-codegen-no-flag.c create mode 100644 gcc/testsuite/gcc.target/aarch64/simd/faminmax-codegen.c -- 2.43.2