Lines Matching defs:swz
154 /* a5xx+ is known to support swz, which enables us to swap two registers
173 struct ir3_instruction *swz = ir3_instr_create(instr->block, opc, 2, 2);
174 ir3_dst_create(swz, dst_num, entry->flags);
175 ir3_dst_create(swz, src_num, entry->flags);
176 ir3_src_create(swz, src_num, entry->flags);
177 ir3_src_create(swz, dst_num, entry->flags);
178 swz->cat1.dst_type = (entry->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32;
179 swz->cat1.src_type = (entry->flags & IR3_REG_HALF) ? TYPE_U16 : TYPE_U32;
180 swz->repeat = 1;
181 ir3_instr_move_before(swz, instr);