• Home
  • Raw
  • Download

Lines Matching refs:Format

52 class Format(Enum):  class
82 if self == Format.SOPK:
84 elif self == Format.SOPP:
87 elif self == Format.SMEM:
92 elif self == Format.DS:
96 elif self == Format.MTBUF:
107 elif self == Format.MUBUF:
119 elif self == Format.MIMG:
134 elif self == Format.EXP:
140 elif self == Format.PSEUDO_BRANCH:
143 elif self == Format.PSEUDO_REDUCTION:
146 elif self == Format.PSEUDO_BARRIER:
149 elif self == Format.VINTRP:
152 elif self == Format.DPP16:
157 elif self == Format.VOP3P:
160 elif self in [Format.FLAT, Format.GLOBAL, Format.SCRATCH]:
181 if self == Format.SDWA:
207 assert isinstance(format, Format)
251 def opcode(name, opcode_gfx7 = -1, opcode_gfx9 = -1, opcode_gfx10 = -1, format = Format.PSEUDO, cls…
262 opcode("exp", 0, 0, 0, format = Format.EXP, cls = InstrClass.Export)
280 opcode("p_reduce", format=Format.PSEUDO_REDUCTION)
282 opcode("p_inclusive_scan", format=Format.PSEUDO_REDUCTION)
284 opcode("p_exclusive_scan", format=Format.PSEUDO_REDUCTION)
286 opcode("p_branch", format=Format.PSEUDO_BRANCH)
287 opcode("p_cbranch", format=Format.PSEUDO_BRANCH)
288 opcode("p_cbranch_z", format=Format.PSEUDO_BRANCH)
289 opcode("p_cbranch_nz", format=Format.PSEUDO_BRANCH)
291 opcode("p_barrier", format=Format.PSEUDO_BARRIER)
386 opcode(name, gfx7, gfx9, gfx10, Format.SOP2, cls)
422 opcode(name, gfx7, gfx9, gfx10, Format.SOPK, cls)
500 opcode(name, gfx7, gfx9, gfx10, Format.SOP1, cls)
528 opcode(name, gfx7, gfx9, gfx10, Format.SOPC, InstrClass.Salu)
575 opcode(name, gfx7, gfx9, gfx10, Format.SOPP, cls)
670 opcode(name, gfx7, gfx9, gfx10, Format.SMEM, InstrClass.SMem, is_atomic = "atomic" in name)
753 opcode(name, gfx7, gfx9, gfx10, Format.VOP2, InstrClass.Valu32, modifiers, modifiers)
758 opcode(name, gfx7, gfx9, gfx10, Format.VOP2, InstrClass.Valu32, True, False)
859 opcode(name, gfx7, gfx9, gfx10, Format.VOP1, cls, in_mod, out_mod)
873 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, cls, True, False)
879 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32, True, False)
881 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32, True, False)
883 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32, True, False)
885 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32, True, False)
889 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32, True, False)
891 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32, True, False)
893 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.ValuDouble, True, False)
895 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.ValuDouble, True, False)
907 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
909 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
911 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
913 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
917 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
919 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
921 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
923 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
927 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
929 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
931 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu64)
933 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu64)
935 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
937 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu32)
939 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu64)
941 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, InstrClass.Valu64)
973 opcode(name, -1, code, code, Format.VOP3P, InstrClass.Valu32, modifiers, modifiers)
974 opcode("v_dot2_i32_i16", -1, 0x26, 0x14, Format.VOP3P, InstrClass.Valu32)
975 opcode("v_dot2_u32_u16", -1, 0x27, 0x15, Format.VOP3P, InstrClass.Valu32)
976 opcode("v_dot4_i32_i8", -1, 0x28, 0x16, Format.VOP3P, InstrClass.Valu32)
977 opcode("v_dot4_u32_u8", -1, 0x29, 0x17, Format.VOP3P, InstrClass.Valu32)
988 opcode(name, code, code, code, Format.VINTRP, InstrClass.Valu32)
1126 opcode(name, gfx7, gfx9, gfx10, Format.VOP3, cls, in_mod, out_mod)
1288 opcode(name, gfx7, gfx9, gfx10, Format.DS, InstrClass.DS)
1374 opcode(name, gfx7, gfx9, gfx10, Format.MUBUF, InstrClass.VMem, is_atomic = "atomic" in name)
1395 opcode(name, gfx7, gfx9, gfx10, Format.MTBUF, InstrClass.VMem)
1414 opcode(name, code, code, code, Format.MIMG, InstrClass.VMem)
1416 opcode("image_msaa_load", -1, -1, 0x80, Format.MIMG, InstrClass.VMem) #GFX10.3+
1440 opcode(name, gfx7, gfx89, gfx7, Format.MIMG, InstrClass.VMem, is_atomic = True)
1486 opcode(name, code, code, code, Format.MIMG, InstrClass.VMem)
1501 opcode(name, -1, -1, code, Format.MIMG, InstrClass.VMem)
1534 opcode(name, code, code, code, Format.MIMG, InstrClass.VMem)
1536 opcode("image_bvh64_intersect_ray", -1, -1, 231, Format.MIMG, InstrClass.VMem)
1596 …opcode(name, gfx7, gfx8, gfx10, Format.FLAT, InstrClass.VMem, is_atomic = "atomic" in name) #TODO:…
1659 opcode(name, -1, gfx8, gfx10, Format.GLOBAL, InstrClass.VMem, is_atomic = "atomic" in name)
1687 opcode(name, -1, gfx8, gfx10, Format.SCRATCH, InstrClass.VMem)
1693 …if op.format in [Format.PSEUDO, Format.PSEUDO_BRANCH, Format.PSEUDO_BARRIER, Format.PSEUDO_REDUCTI…