Applied the fixups suggested in the previous review, cheers.
This patch allows the AArch64 back end to emit the half-precision variants of FCMP and FCMPE, given the target supports FEAT_FP16. Previously, such comparisons would be unnecessarily promoted to single-precision. The latest documentation of these instructions can be found here: https://developer.arm.com/documentation/ddi0602/2024-12 Successfully bootstrapped and regtested on aarch64-linux-gnu. OK for stage 1? Spencer Abson (1): AArch64: Emit half-precision FCMP/FCMPE gcc/config/aarch64/aarch64.md | 29 +++++----- .../gcc.target/aarch64/_Float16_cmp_1.c | 54 +++++++++++++++++++ .../gcc.target/aarch64/_Float16_cmp_2.c | 7 +++ 3 files changed, 77 insertions(+), 13 deletions(-) create mode 100644 gcc/testsuite/gcc.target/aarch64/_Float16_cmp_1.c create mode 100644 gcc/testsuite/gcc.target/aarch64/_Float16_cmp_2.c -- 2.34.1