[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Add support for FEAT_FPv2 (PR #231436)
Martin Wehking via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Oct 14 03:45:33 PDT 2026
================
@@ -5980,6 +5980,20 @@ multiclass TwoOperandFPData<bits<4> opcode, string asm,
}
}
+multiclass TwoOperandFPDataFPv2<bits<4> opcode, string asm> {
+ def Hrr : BaseTwoOperandFPData<opcode, FPR16, asm, []> {
+ let Inst{23-22} = 0b11; // 16-bit size flag
+ }
+
+ def Srr : BaseTwoOperandFPData<opcode, FPR32, asm, []> {
+ let Inst{23-22} = 0b00; // 32-bit size flag
+ }
+
+ def Drr : BaseTwoOperandFPData<opcode, FPR64, asm, []> {
+ let Inst{23-22} = 0b01; // 64-bit size flag
+ }
+}
+
----------------
MartinWehking wrote:
you're right. I've removed the unnecessary multiclass.
https://github.com/llvm/llvm-project/pull/231436
More information about the llvm-branch-commits
mailing list