[clang] [llvm] [AArch64] Implement intrinsics for SVE FAMIN/FAMAX (PR #99042)
Paul Walker via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 29 04:06:03 PDT 2024
================
@@ -717,6 +717,11 @@ let Predicates = [HasSVEorSME] in {
defm FDIV_ZPZZ : sve_fp_bin_pred_hfd<AArch64fdiv_p>;
} // End HasSVEorSME
+let Predicates = [HasSVE2orSME2, HasFAMINMAX] in {
+ defm FAMAX_ZPZZ : sve_fp_bin_pred_hfd<int_aarch64_sve_famax_u>;
+ defm FAMIN_ZPZZ : sve_fp_bin_pred_hfd<int_aarch64_sve_famin_u>;
+}
+
----------------
paulwalker-arm wrote:
It doesn't make sense for the pseudo instructions patterns to be so far away from the definitions of the real instructions. Please move them just below the defs for FAMIN_ZPmZ/FAMAX_ZPmZ.
https://github.com/llvm/llvm-project/pull/99042
More information about the cfe-commits
mailing list