[llvm] [LLVM][AARCH64] Add assembly/disassembly of zeroing convert instructions (PR #113292)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 08:05:49 PDT 2024
================
@@ -4197,6 +4197,22 @@ defm TBXQ_ZZZ : sve2_int_perm_tbx<"tbxq", 0b10, int_aarch64_sve_tbxq>;
defm TBLQ_ZZZ : sve2p1_tblq<"tblq", int_aarch64_sve_tblq>;
} // End HasSVE2p1_or_HasSME2p1
+
+//===----------------------------------------------------------------------===//
+// SME2.2 or SVE2.2 instructions
+//===----------------------------------------------------------------------===//
+let Predicates = [HasSVE2p2orSME2p2] in {
+ // SVE2p2 floating-point convert precision down (placing odd), zeroing predicate
+ defm FCVTNT_ZPzZ : sve_fp_fcvtntz<"fcvtnt">;
+ def FCVTXNT_ZPzZ_DtoS : sve_fp_fcvt2z<0b0010, "fcvtxnt", ZPR32, ZPR64>;
+
+ // SVE2p2 floating-point convert precision up, zeroing predicate
+ defm FCVTLT_ZPzZ : sve_fp_fcvtltz<"fcvtlt">;
+
+ // SVE2p2 floating-point convert single-to-bf (placing odd), zeroing predicate
+ def BFCVTNT_ZPzZ : sve_fp_fcvt2z<0b1010, "bfcvtnt", ZPR16, ZPR32>;
----------------
Lukacma wrote:
There are no bfcvtnt of other sizes, so it seems unnecessary to me.
https://github.com/llvm/llvm-project/pull/113292
More information about the llvm-commits
mailing list