Lines Matching refs:format
183 res += 'instr->sel[{0}] = SubdwordSel(op{0}.op.bytes(), 0, false);'.format(i)
192 def __init__(self, name, opcode_gfx7, opcode_gfx9, opcode_gfx10, format, input_mod, output_mod, is_atomic, cls):
207 assert isinstance(format, Format)
218 self.format = format
224 op_dtype_sizes = {'{}{}'.format(prefix, size) : size for prefix in 'biuf' for size in [64, 32, 24, 16]}
251 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):
253 opcodes[name] = Opcode(name, opcode_gfx7, opcode_gfx9, opcode_gfx10, format, input_mod, output_mod, is_atomic, 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)
1693 if op.format in [Format.PSEUDO, Format.PSEUDO_BRANCH, Format.PSEUDO_BARRIER, Format.PSEUDO_REDUCTION]:
1700 key = (op.format, num)