Lines Matching refs:cls
190 def __init__(self, name, opcode_gfx7, opcode_gfx9, opcode_gfx10, format, input_mod, output_mod, is_atomic, cls):
217 self.cls = cls
249 def opcode(name, opcode_gfx7 = -1, opcode_gfx9 = -1, opcode_gfx10 = -1, format = Format.PSEUDO, cls = InstrClass.Other, input_mod = False, output_mod = False, is_atomic = False):
251 opcodes[name] = Opcode(name, opcode_gfx7, opcode_gfx9, opcode_gfx10, format, input_mod, output_mod, is_atomic, cls)
253 def default_class(opcodes, cls):
258 yield op + (cls,)
260 opcode("exp", 0, 0, 0, format = Format.EXP, cls = InstrClass.Export)
379 for (gfx6, gfx7, gfx8, gfx9, gfx10, name, cls) in default_class(SOP2, InstrClass.Salu):
380 opcode(name, gfx7, gfx9, gfx10, Format.SOP2, cls)
415 for (gfx6, gfx7, gfx8, gfx9, gfx10, name, cls) in default_class(SOPK, InstrClass.Salu):
416 opcode(name, gfx7, gfx9, gfx10, Format.SOPK, cls)
493 for (gfx6, gfx7, gfx8, gfx9, gfx10, name, cls) in default_class(SOP1, InstrClass.Salu):
494 opcode(name, gfx7, gfx9, gfx10, Format.SOP1, cls)
568 for (gfx6, gfx7, gfx8, gfx9, gfx10, name, cls) in default_class(SOPP, InstrClass.Salu):
569 opcode(name, gfx7, gfx9, gfx10, Format.SOPP, cls)
851 for (gfx6, gfx7, gfx8, gfx9, gfx10, name, in_mod, out_mod, cls) in default_class(VOP1, InstrClass.Valu32):
852 opcode(name, gfx7, gfx9, gfx10, Format.VOP1, cls, in_mod, out_mod)
865 for (gfx6, gfx7, gfx8, gfx9, gfx10, name, cls) in default_class(VOPC_CLASS, InstrClass.Valu32):
866 opcode(name, gfx7, gfx9, gfx10, Format.VOPC, cls, True, False)
1118 for (gfx6, gfx7, gfx8, gfx9, gfx10, name, in_mod, out_mod, cls) in default_class(VOP3, InstrClass.Valu32):
1119 opcode(name, gfx7, gfx9, gfx10, Format.VOP3, cls, in_mod, out_mod)