================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits