@@ -527,16 +527,16 @@ multiclass MIMG_NoSampler_Src_Helper <mimgopc op, string asm,
527
527
let ssamp = 0 in {
528
528
if op.HAS_GFX10M then {
529
529
def _V1 : MIMG_NoSampler_Helper <op, asm, dst_rc, VGPR_32,
530
- !if(enableDisasm, "AMDGPU ", "")>;
530
+ !if(enableDisasm, "GFX10 ", "")>;
531
531
if !not(ExtendedImageInst) then
532
532
def _V1_gfx90a : MIMG_NoSampler_Helper_gfx90a <op, asm, dst_rc, VGPR_32,
533
533
!if(enableDisasm, "GFX90A", "")>;
534
534
def _V1_gfx10 : MIMG_NoSampler_gfx10<op, asm, dst_rc, VGPR_32,
535
- !if(enableDisasm, "AMDGPU ", "")>;
535
+ !if(enableDisasm, "GFX10 ", "")>;
536
536
}
537
537
if op.HAS_GFX11 then {
538
538
def _V1_gfx11 : MIMG_NoSampler_gfx11<op, asm, dst_rc, VGPR_32,
539
- !if(enableDisasm, "AMDGPU ", "")>;
539
+ !if(enableDisasm, "GFX11 ", "")>;
540
540
}
541
541
}
542
542
if op.HAS_GFX12 then {
@@ -606,12 +606,12 @@ multiclass MIMG_NoSampler_Src_Helper <mimgopc op, string asm,
606
606
def _V4_gfx90a : MIMG_NoSampler_Helper_gfx90a <op, asm, dst_rc, VReg_128>;
607
607
def _V4_gfx10 : MIMG_NoSampler_gfx10<op, asm, dst_rc, VReg_128>;
608
608
def _V4_nsa_gfx10 : MIMG_NoSampler_nsa_gfx10<op, asm, dst_rc, 4,
609
- !if(enableDisasm, "AMDGPU ", "")>;
609
+ !if(enableDisasm, "GFX10 ", "")>;
610
610
}
611
611
if op.HAS_GFX11 then {
612
612
def _V4_gfx11 : MIMG_NoSampler_gfx11<op, asm, dst_rc, VReg_128>;
613
613
def _V4_nsa_gfx11 : MIMG_NoSampler_nsa_gfx11<op, asm, dst_rc, 4,
614
- !if(enableDisasm, "AMDGPU ", "")>;
614
+ !if(enableDisasm, "GFX11 ", "")>;
615
615
}
616
616
}
617
617
if op.HAS_GFX12 then {
@@ -754,16 +754,16 @@ multiclass MIMG_Store_Addr_Helper <mimgopc op, string asm,
754
754
let ssamp = 0 in {
755
755
if op.HAS_GFX10M then {
756
756
def _V1 : MIMG_Store_Helper <op, asm, data_rc, VGPR_32,
757
- !if(enableDisasm, "AMDGPU ", "")>;
757
+ !if(enableDisasm, "GFX10 ", "")>;
758
758
let hasPostISelHook = 1 in
759
759
def _V1_gfx90a : MIMG_Store_Helper_gfx90a <op, asm, data_rc, VGPR_32,
760
760
!if(enableDisasm, "GFX90A", "")>;
761
761
def _V1_gfx10 : MIMG_Store_gfx10 <op, asm, data_rc, VGPR_32,
762
- !if(enableDisasm, "AMDGPU ", "")>;
762
+ !if(enableDisasm, "GFX10 ", "")>;
763
763
}
764
764
if op.HAS_GFX11 then {
765
765
def _V1_gfx11 : MIMG_Store_gfx11 <op, asm, data_rc, VGPR_32,
766
- !if(enableDisasm, "AMDGPU ", "")>;
766
+ !if(enableDisasm, "GFX11 ", "")>;
767
767
}
768
768
}
769
769
if op.HAS_GFX12 then {
@@ -812,12 +812,12 @@ multiclass MIMG_Store_Addr_Helper <mimgopc op, string asm,
812
812
def _V4_gfx90a : MIMG_Store_Helper_gfx90a <op, asm, data_rc, VReg_128>;
813
813
def _V4_gfx10 : MIMG_Store_gfx10 <op, asm, data_rc, VReg_128>;
814
814
def _V4_nsa_gfx10 : MIMG_Store_nsa_gfx10 <op, asm, data_rc, 4,
815
- !if(enableDisasm, "AMDGPU ", "")>;
815
+ !if(enableDisasm, "GFX10 ", "")>;
816
816
}
817
817
if op.HAS_GFX11 then {
818
818
def _V4_gfx11 : MIMG_Store_gfx11 <op, asm, data_rc, VReg_128>;
819
819
def _V4_nsa_gfx11 : MIMG_Store_nsa_gfx11 <op, asm, data_rc, 4,
820
- !if(enableDisasm, "AMDGPU ", "")>;
820
+ !if(enableDisasm, "GFX11 ", "")>;
821
821
}
822
822
}
823
823
if op.HAS_GFX12 then {
@@ -897,7 +897,7 @@ class MIMG_Atomic_gfx10<mimgopc op, string opcode,
897
897
RegisterClass DataRC, RegisterClass AddrRC,
898
898
bit enableDisasm = 0>
899
899
: MIMG_gfx10<!cast<int>(op.GFX10M), (outs DataRC:$vdst),
900
- !if(enableDisasm, "AMDGPU ", "")> {
900
+ !if(enableDisasm, "GFX10 ", "")> {
901
901
let Constraints = "$vdst = $vdata";
902
902
903
903
let InOperandList = (ins DataRC:$vdata, AddrRC:$vaddr0, SReg_256:$srsrc,
@@ -910,7 +910,7 @@ class MIMG_Atomic_nsa_gfx10<mimgopc op, string opcode,
910
910
RegisterClass DataRC, int num_addrs,
911
911
bit enableDisasm = 0>
912
912
: MIMG_nsa_gfx10<!cast<int>(op.GFX10M), (outs DataRC:$vdst), num_addrs,
913
- !if(enableDisasm, "AMDGPU ", "")> {
913
+ !if(enableDisasm, "GFX10 ", "")> {
914
914
let Constraints = "$vdst = $vdata";
915
915
916
916
let InOperandList = !con((ins DataRC:$vdata),
@@ -925,7 +925,7 @@ class MIMG_Atomic_gfx11<mimgopc op, string opcode,
925
925
RegisterClass DataRC, RegisterClass AddrRC,
926
926
bit enableDisasm = 0>
927
927
: MIMG_gfx11<!cast<int>(op.GFX11), (outs DataRC:$vdst),
928
- !if(enableDisasm, "AMDGPU ", "")> {
928
+ !if(enableDisasm, "GFX11 ", "")> {
929
929
let Constraints = "$vdst = $vdata";
930
930
931
931
let InOperandList = (ins DataRC:$vdata, AddrRC:$vaddr0, SReg_256:$srsrc,
@@ -938,7 +938,7 @@ class MIMG_Atomic_nsa_gfx11<mimgopc op, string opcode,
938
938
RegisterClass DataRC, int num_addrs,
939
939
bit enableDisasm = 0>
940
940
: MIMG_nsa_gfx11<!cast<int>(op.GFX11), (outs DataRC:$vdst), num_addrs,
941
- !if(enableDisasm, "AMDGPU ", "")> {
941
+ !if(enableDisasm, "GFX11 ", "")> {
942
942
let Constraints = "$vdst = $vdata";
943
943
944
944
let InOperandList = !con((ins DataRC:$vdata),
@@ -1298,19 +1298,19 @@ multiclass MIMG_Sampler_Src_Helper <mimgopc op, string asm,
1298
1298
if op.HAS_GFX10M then {
1299
1299
def _V # addr.NumWords
1300
1300
: MIMG_Sampler_Helper <op, asm, dst_rc, addr.RegClass,
1301
- !if(!and(enableDisasm, addr.Disassemble), "AMDGPU ", "")>;
1301
+ !if(!and(enableDisasm, addr.Disassemble), "GFX10 ", "")>;
1302
1302
if !not(ExtendedImageInst) then
1303
1303
def _V # addr.NumWords # _gfx90a
1304
1304
: MIMG_Sampler_gfx90a <op, asm, dst_rc, addr.RegClass,
1305
1305
!if(!and(enableDisasm, addr.Disassemble), "GFX90A", "")>;
1306
1306
def _V # addr.NumWords # _gfx10
1307
1307
: MIMG_Sampler_gfx10 <op, asm, dst_rc, addr.RegClass,
1308
- !if(!and(enableDisasm, addr.Disassemble), "AMDGPU ", "")>;
1308
+ !if(!and(enableDisasm, addr.Disassemble), "GFX10 ", "")>;
1309
1309
}
1310
1310
if op.HAS_GFX11 then {
1311
1311
def _V # addr.NumWords # _gfx11
1312
1312
: MIMG_Sampler_gfx11 <op, asm, dst_rc, addr.RegClass,
1313
- !if(!and(enableDisasm, addr.Disassemble), "AMDGPU ", "")>;
1313
+ !if(!and(enableDisasm, addr.Disassemble), "GFX11 ", "")>;
1314
1314
}
1315
1315
}
1316
1316
}
@@ -1320,7 +1320,7 @@ multiclass MIMG_Sampler_Src_Helper <mimgopc op, string asm,
1320
1320
if op.HAS_GFX10M then {
1321
1321
def _V # addr.NumWords # _nsa_gfx10
1322
1322
: MIMG_Sampler_nsa_gfx10<op, asm, dst_rc, addr.NumWords,
1323
- !if(!and(enableDisasm, addr.Disassemble), "AMDGPU ", "")>;
1323
+ !if(!and(enableDisasm, addr.Disassemble), "GFX10 ", "")>;
1324
1324
}
1325
1325
}
1326
1326
}
@@ -1330,7 +1330,7 @@ multiclass MIMG_Sampler_Src_Helper <mimgopc op, string asm,
1330
1330
if op.HAS_GFX11 then {
1331
1331
def _V # addr.NumWords # _nsa_gfx11
1332
1332
: MIMG_Sampler_nsa_gfx11<op, asm, dst_rc, addr.NumWords, addr.RegClass,
1333
- !if(!and(enableDisasm, addr.Disassemble), "AMDGPU ", "")>;
1333
+ !if(!and(enableDisasm, addr.Disassemble), "GFX11 ", "")>;
1334
1334
}
1335
1335
}
1336
1336
}
@@ -1416,21 +1416,21 @@ class MIMG_IntersectRay_Helper<bit Is64, bit IsA16> {
1416
1416
}
1417
1417
1418
1418
class MIMG_IntersectRay_gfx10<mimgopc op, string opcode, RegisterClass AddrRC>
1419
- : MIMG_gfx10<op.GFX10M, (outs VReg_128:$vdata), "AMDGPU "> {
1419
+ : MIMG_gfx10<op.GFX10M, (outs VReg_128:$vdata), "GFX10 "> {
1420
1420
let InOperandList = (ins AddrRC:$vaddr0, SReg_128:$srsrc, A16:$a16);
1421
1421
let AsmString = opcode#" $vdata, $vaddr0, $srsrc$a16";
1422
1422
1423
1423
let nsa = 0;
1424
1424
}
1425
1425
1426
1426
class MIMG_IntersectRay_nsa_gfx10<mimgopc op, string opcode, int num_addrs>
1427
- : MIMG_nsa_gfx10<op.GFX10M, (outs VReg_128:$vdata), num_addrs, "AMDGPU "> {
1427
+ : MIMG_nsa_gfx10<op.GFX10M, (outs VReg_128:$vdata), num_addrs, "GFX10 "> {
1428
1428
let InOperandList = !con(nsah.AddrIns, (ins SReg_128:$srsrc, A16:$a16));
1429
1429
let AsmString = opcode#" $vdata, "#nsah.AddrAsm#", $srsrc$a16";
1430
1430
}
1431
1431
1432
1432
class MIMG_IntersectRay_gfx11<mimgopc op, string opcode, RegisterClass AddrRC>
1433
- : MIMG_gfx11<op.GFX11, (outs VReg_128:$vdata), "AMDGPU "> {
1433
+ : MIMG_gfx11<op.GFX11, (outs VReg_128:$vdata), "GFX11 "> {
1434
1434
let InOperandList = (ins AddrRC:$vaddr0, SReg_128:$srsrc, A16:$a16);
1435
1435
let AsmString = opcode#" $vdata, $vaddr0, $srsrc$a16";
1436
1436
@@ -1439,7 +1439,7 @@ class MIMG_IntersectRay_gfx11<mimgopc op, string opcode, RegisterClass AddrRC>
1439
1439
1440
1440
class MIMG_IntersectRay_nsa_gfx11<mimgopc op, string opcode, int num_addrs,
1441
1441
list<RegisterClass> addr_types>
1442
- : MIMG_nsa_gfx11<op.GFX11, (outs VReg_128:$vdata), num_addrs, "AMDGPU ",
1442
+ : MIMG_nsa_gfx11<op.GFX11, (outs VReg_128:$vdata), num_addrs, "GFX11 ",
1443
1443
addr_types> {
1444
1444
let InOperandList = !con(nsah.AddrIns, (ins SReg_128:$srsrc, A16:$a16));
1445
1445
let AsmString = opcode#" $vdata, "#nsah.AddrAsm#", $srsrc$a16";
0 commit comments