Lines Matching refs:cat2
201 instr_cat2_t *cat2 = ptr; in emit_cat2() local
208 cat2->rel1.src1 = reg(src1, info, instr->repeat, in emit_cat2()
211 cat2->rel1.src1_c = !!(src1->flags & IR3_REG_CONST); in emit_cat2()
212 cat2->rel1.src1_rel = 1; in emit_cat2()
215 cat2->c1.src1 = reg(src1, info, instr->repeat, in emit_cat2()
217 cat2->c1.src1_c = 1; in emit_cat2()
220 cat2->src1 = reg(src1, info, instr->repeat, in emit_cat2()
224 cat2->src1_im = !!(src1->flags & IR3_REG_IMMED); in emit_cat2()
225 cat2->src1_neg = !!(src1->flags & (IR3_REG_FNEG | IR3_REG_SNEG | IR3_REG_BNOT)); in emit_cat2()
226 cat2->src1_abs = !!(src1->flags & (IR3_REG_FABS | IR3_REG_SABS)); in emit_cat2()
227 cat2->src1_r = !!(src1->flags & IR3_REG_R); in emit_cat2()
235 cat2->rel2.src2 = reg(src2, info, instr->repeat, in emit_cat2()
238 cat2->rel2.src2_c = !!(src2->flags & IR3_REG_CONST); in emit_cat2()
239 cat2->rel2.src2_rel = 1; in emit_cat2()
242 cat2->c2.src2 = reg(src2, info, instr->repeat, in emit_cat2()
244 cat2->c2.src2_c = 1; in emit_cat2()
247 cat2->src2 = reg(src2, info, instr->repeat, in emit_cat2()
252 cat2->src2_im = !!(src2->flags & IR3_REG_IMMED); in emit_cat2()
253 cat2->src2_neg = !!(src2->flags & (IR3_REG_FNEG | IR3_REG_SNEG | IR3_REG_BNOT)); in emit_cat2()
254 cat2->src2_abs = !!(src2->flags & (IR3_REG_FABS | IR3_REG_SABS)); in emit_cat2()
255 cat2->src2_r = !!(src2->flags & IR3_REG_R); in emit_cat2()
258 cat2->dst = reg(dst, info, instr->repeat, in emit_cat2()
260 cat2->repeat = instr->repeat; in emit_cat2()
261 cat2->ss = !!(instr->flags & IR3_INSTR_SS); in emit_cat2()
262 cat2->ul = !!(instr->flags & IR3_INSTR_UL); in emit_cat2()
263 cat2->dst_half = !!((src1->flags ^ dst->flags) & IR3_REG_HALF); in emit_cat2()
264 cat2->ei = !!(dst->flags & IR3_REG_EI); in emit_cat2()
265 cat2->cond = instr->cat2.condition; in emit_cat2()
266 cat2->full = ! (src1->flags & IR3_REG_HALF); in emit_cat2()
267 cat2->opc = instr->opc; in emit_cat2()
268 cat2->jmp_tgt = !!(instr->flags & IR3_INSTR_JP); in emit_cat2()
269 cat2->sync = !!(instr->flags & IR3_INSTR_SY); in emit_cat2()
270 cat2->opc_cat = 2; in emit_cat2()