@@ -1686,7 +1686,7 @@ let WaveSizePredicate = isWave64, SubtargetPredicate = isGFX12Plus in {
16861686// Begin Real Encodings
16871687//===----------------------------------------------------------------------===//
16881688
1689- class VOP3P_DPP16<bits<7 > op, VOP_DPP_Pseudo ps, int subtarget,
1689+ class VOP3P_DPP16<bits<8 > op, VOP_DPP_Pseudo ps, int subtarget,
16901690 string opName = ps.OpName>
16911691 : VOP3P_DPP<op, opName, ps.Pfl, 1>, SIMCInstr<ps.PseudoInstr, subtarget> {
16921692 let hasSideEffects = ps.hasSideEffects;
@@ -1699,7 +1699,7 @@ class VOP3P_DPP16<bits<7> op, VOP_DPP_Pseudo ps, int subtarget,
16991699 let IsPacked = ps.IsPacked;
17001700}
17011701
1702- class VOP3P_DPP8_Base<bits<7 > op, VOP_Pseudo ps, string opName = ps.OpName>
1702+ class VOP3P_DPP8_Base<bits<8 > op, VOP_Pseudo ps, string opName = ps.OpName>
17031703 : VOP3P_DPP8<op, opName, ps.Pfl> {
17041704 let hasSideEffects = ps.hasSideEffects;
17051705 let Defs = ps.Defs;
@@ -1714,14 +1714,14 @@ class VOP3P_DPP8_Base<bits<7> op, VOP_Pseudo ps, string opName = ps.OpName>
17141714// GFX11, GFX12
17151715//===----------------------------------------------------------------------===//
17161716
1717- multiclass VOP3P_Real_Base<GFXGen Gen, bits<7 > op, string backing_ps_name = NAME,
1717+ multiclass VOP3P_Real_Base<GFXGen Gen, bits<8 > op, string backing_ps_name = NAME,
17181718 string asmName = !cast<VOP3P_Pseudo>(NAME).Mnemonic> {
17191719 def Gen.Suffix :
17201720 VOP3P_Real_Gen<!cast<VOP3P_Pseudo>(backing_ps_name), Gen, asmName>,
17211721 VOP3Pe_gfx11_gfx12<op, !cast<VOP3P_Pseudo>(backing_ps_name).Pfl>;
17221722}
17231723
1724- class VOP3PeWmma<bits<7 > op, VOPProfile P, VOP3PWMMA_Profile WMMAP>
1724+ class VOP3PeWmma<bits<8 > op, VOPProfile P, VOP3PWMMA_Profile WMMAP>
17251725 : VOP3Pe_gfx11_gfx12<op, P>{
17261726 // opsel
17271727 let Inst{11} = !cond(!eq(WMMAP.IndexType, 0) : 0,
@@ -1745,21 +1745,21 @@ class VOP3PeWmma<bits<7> op, VOPProfile P, VOP3PWMMA_Profile WMMAP>
17451745 let Inst{15} = !if(WMMAP.IsIU, clamp{0}, 0);
17461746}
17471747
1748- multiclass VOP3P_WMMA_Real_Base<GFXGen Gen, bits<7 > op, VOP3PWMMA_Profile WMMAP,
1748+ multiclass VOP3P_WMMA_Real_Base<GFXGen Gen, bits<8 > op, VOP3PWMMA_Profile WMMAP,
17491749 string backing_ps_name = NAME,
17501750 string asmName = !cast<VOP3P_Pseudo>(NAME).Mnemonic> {
17511751 def Gen.Suffix :
17521752 VOP3P_Real_Gen<!cast<VOP3P_Pseudo>(backing_ps_name), Gen, asmName>,
17531753 VOP3PeWmma<op, !cast<VOP3P_Pseudo>(backing_ps_name).Pfl, WMMAP>;
17541754}
17551755
1756- multiclass VOP3P_Real_WMMA_gfx12 <bits<7 > op, VOP3PWMMA_Profile WMMAP> {
1756+ multiclass VOP3P_Real_WMMA_gfx12 <bits<8 > op, VOP3PWMMA_Profile WMMAP> {
17571757 let WaveSizePredicate = isWave32, DecoderNamespace = "GFX12" in {
17581758 defm _twoaddr : VOP3P_WMMA_Real_Base <GFX12Gen, op, WMMAP>;
17591759 }
17601760}
17611761
1762- multiclass VOP3P_Real_WMMA_gfx12w64 <bits<7 > op, VOP3PWMMA_Profile WMMAP> {
1762+ multiclass VOP3P_Real_WMMA_gfx12w64 <bits<8 > op, VOP3PWMMA_Profile WMMAP> {
17631763 let WaveSizePredicate = isWave64, DecoderNamespace = "GFX12W64" in {
17641764 defm _twoaddr : VOP3P_WMMA_Real_Base <GFX12Gen, op, WMMAP>;
17651765 }
@@ -1814,7 +1814,7 @@ defm V_SWMMAC_F32_16X16X32_FP8_BF8_w64 : VOP3P_Real_WMMA_gfx12w64 <0x058, F32_FP
18141814defm V_SWMMAC_F32_16X16X32_BF8_FP8_w64 : VOP3P_Real_WMMA_gfx12w64 <0x059, F32_FP8BF8_SWMMAC_w64>;
18151815defm V_SWMMAC_F32_16X16X32_BF8_BF8_w64 : VOP3P_Real_WMMA_gfx12w64 <0x05a, F32_FP8BF8_SWMMAC_w64>;
18161816
1817- multiclass VOP3P_Real_with_name<GFXGen Gen, bits<7 > op,
1817+ multiclass VOP3P_Real_with_name<GFXGen Gen, bits<8 > op,
18181818 string backing_ps_name = NAME,
18191819 string asmName = !cast<VOP3P_Pseudo>(NAME).Mnemonic> {
18201820 defvar ps = !cast<VOP3P_Pseudo>(backing_ps_name);
@@ -1828,7 +1828,7 @@ multiclass VOP3P_Real_with_name<GFXGen Gen, bits<7> op,
18281828 }
18291829}
18301830
1831- multiclass VOP3P_Real_dpp<GFXGen Gen, bits<7 > op, string backing_ps_name = NAME,
1831+ multiclass VOP3P_Real_dpp<GFXGen Gen, bits<8 > op, string backing_ps_name = NAME,
18321832 string asmName = !cast<VOP3P_Pseudo>(NAME).Mnemonic> {
18331833 defvar ps = !cast<VOP3P_Pseudo>(backing_ps_name);
18341834 def _dpp#Gen.Suffix
@@ -1840,7 +1840,7 @@ multiclass VOP3P_Real_dpp<GFXGen Gen, bits<7> op, string backing_ps_name = NAME,
18401840 }
18411841}
18421842
1843- multiclass VOP3P_Real_dpp8<GFXGen Gen, bits<7 > op, string backing_ps_name = NAME,
1843+ multiclass VOP3P_Real_dpp8<GFXGen Gen, bits<8 > op, string backing_ps_name = NAME,
18441844 string asmName = !cast<VOP3P_Pseudo>(NAME).Mnemonic> {
18451845 defvar ps = !cast<VOP3P_Pseudo>(backing_ps_name);
18461846 def _dpp8#Gen.Suffix : VOP3P_DPP8_Base<op, ps> {
@@ -1850,7 +1850,7 @@ multiclass VOP3P_Real_dpp8<GFXGen Gen, bits<7> op, string backing_ps_name = NAME
18501850 }
18511851}
18521852
1853- multiclass VOP3P_Realtriple<GFXGen Gen, bits<7 > op, string backing_ps_name = NAME,
1853+ multiclass VOP3P_Realtriple<GFXGen Gen, bits<8 > op, string backing_ps_name = NAME,
18541854 string asmName = !cast<VOP3P_Pseudo>(NAME).Mnemonic>
18551855 : VOP3P_Real_Base<Gen, op, backing_ps_name, asmName>,
18561856 VOP3P_Real_dpp<Gen, op, backing_ps_name, asmName>,
@@ -1860,9 +1860,9 @@ multiclass VOP3P_Realtriple<GFXGen Gen, bits<7> op, string backing_ps_name = NAM
18601860// GFX12
18611861//===----------------------------------------------------------------------===//
18621862
1863- multiclass VOP3P_Real_gfx12<bits<7 > op> : VOP3P_Real_Base<GFX12Gen, op>;
1863+ multiclass VOP3P_Real_gfx12<bits<8 > op> : VOP3P_Real_Base<GFX12Gen, op>;
18641864
1865- multiclass VOP3P_Real_with_name_gfx12<bits<7 > op,
1865+ multiclass VOP3P_Real_with_name_gfx12<bits<8 > op,
18661866 string backing_ps_name = NAME,
18671867 string asmName = !cast<VOP3P_Pseudo>(NAME).Mnemonic> :
18681868 VOP3P_Real_with_name<GFX12Gen, op, backing_ps_name, asmName>;
@@ -1882,7 +1882,7 @@ defm V_DOT4_F32_BF8_BF8 : VOP3P_Realtriple<GFX12Gen, 0x27>;
18821882// GFX11
18831883//===----------------------------------------------------------------------===//
18841884
1885- multiclass VOP3P_Real_gfx11_gfx12<bits<7 > op> :
1885+ multiclass VOP3P_Real_gfx11_gfx12<bits<8 > op> :
18861886 VOP3P_Real_Base<GFX11Gen, op>, VOP3P_Real_Base<GFX12Gen, op>;
18871887
18881888defm V_DOT4_I32_IU8 : VOP3P_Real_gfx11_gfx12<0x16>;
@@ -1894,7 +1894,7 @@ let AssemblerPredicate = isGFX11Plus in {
18941894 def : AMDGPUMnemonicAlias<"v_dot8_i32_i4", "v_dot8_i32_iu4">;
18951895}
18961896
1897- multiclass VOP3P_Real_WMMA <bits<7 > op> {
1897+ multiclass VOP3P_Real_WMMA <bits<8 > op> {
18981898 let WaveSizePredicate = isWave32, DecoderNamespace = "GFX11" in {
18991899 defm _twoaddr_w32 : VOP3P_Real_Base <GFX11Gen, op>;
19001900 }
@@ -1916,7 +1916,7 @@ defm V_WMMA_I32_16X16X16_IU4 : VOP3P_Real_WMMA <0x045>;
19161916
19171917multiclass VOP3P_Real_vi<bits<7> op> {
19181918 def _vi : VOP3P_Real<!cast<VOP3_Pseudo>(NAME), SIEncodingFamily.VI>,
1919- VOP3Pe <op, !cast<VOP3_Pseudo>(NAME).Pfl> {
1919+ VOP3Pe_vi <op, !cast<VOP3_Pseudo>(NAME).Pfl> {
19201920 let AssemblerPredicate = HasVOP3PInsts;
19211921 let DecoderNamespace = "GFX8";
19221922 let VOP3P = 1;
@@ -2257,19 +2257,19 @@ defm V_PK_MOV_B32 : VOP3P_Real_vi <0x33>;
22572257//===----------------------------------------------------------------------===//
22582258
22592259let AssemblerPredicate = isGFX10Only, DecoderNamespace = "GFX10", VOP3P = 1 in {
2260- multiclass VOP3P_Real_gfx10<bits<7 > op> {
2260+ multiclass VOP3P_Real_gfx10<bits<8 > op> {
22612261 def _gfx10 : VOP3P_Real<!cast<VOP3P_Pseudo>(NAME), SIEncodingFamily.GFX10>,
22622262 VOP3Pe_gfx10 <op, !cast<VOP3P_Pseudo>(NAME).Pfl>;
22632263 }
22642264} // End AssemblerPredicate = isGFX10Only, DecoderNamespace = "GFX10", VOP3P = 1
22652265
2266- multiclass VOP3P_Real_gfx10_gfx11<bits<7 > op> :
2266+ multiclass VOP3P_Real_gfx10_gfx11<bits<8 > op> :
22672267 VOP3P_Real_gfx10<op>, VOP3P_Real_Base<GFX11Gen, op>;
22682268
2269- multiclass VOP3P_Real_gfx10_gfx11_gfx12<bits<7 > op> :
2269+ multiclass VOP3P_Real_gfx10_gfx11_gfx12<bits<8 > op> :
22702270 VOP3P_Real_gfx10_gfx11<op>, VOP3P_Real_Base<GFX12Gen, op>;
22712271
2272- multiclass VOP3P_Real_gfx10_gfx11_gfx12_Triple<bits<7 > op> :
2272+ multiclass VOP3P_Real_gfx10_gfx11_gfx12_Triple<bits<8 > op> :
22732273 VOP3P_Real_gfx10<op>, VOP3P_Realtriple<GFX11Gen, op>,
22742274 VOP3P_Realtriple<GFX12Gen, op>;
22752275
0 commit comments