Lines Matching refs:IR3_REG_HALF
75 iassert(!((reg)->flags & IR3_REG_HALF)); \
77 iassert((reg)->flags & IR3_REG_HALF); \
116 if (reg->flags & IR3_REG_HALF) { in reg()
175 IR3_REG_R | IR3_REG_CONST | IR3_REG_HALF | IR3_REG_RELATIV); in emit_cat1()
180 IR3_REG_R | IR3_REG_CONST | IR3_REG_HALF); in emit_cat1()
186 IR3_REG_R | IR3_REG_POS_INF | IR3_REG_HALF); in emit_cat1()
230 IR3_REG_HALF | absneg); in emit_cat2()
236 IR3_REG_CONST | IR3_REG_R | IR3_REG_HALF | in emit_cat2()
242 IR3_REG_IMMED | IR3_REG_R | IR3_REG_HALF | in emit_cat2()
251 !((src1->flags ^ src2->flags) & IR3_REG_HALF)); in emit_cat2()
257 IR3_REG_HALF | absneg); in emit_cat2()
263 IR3_REG_CONST | IR3_REG_R | IR3_REG_HALF | in emit_cat2()
269 IR3_REG_IMMED | IR3_REG_R | IR3_REG_HALF | in emit_cat2()
279 IR3_REG_R | IR3_REG_EI | IR3_REG_HALF); in emit_cat2()
284 cat2->dst_half = !!((src1->flags ^ dst->flags) & IR3_REG_HALF); in emit_cat2()
287 cat2->full = ! (src1->flags & IR3_REG_HALF); in emit_cat2()
316 src_flags |= IR3_REG_HALF; in emit_cat3()
323 iassert(!((src1->flags ^ src_flags) & IR3_REG_HALF)); in emit_cat3()
324 iassert(!((src2->flags ^ src_flags) & IR3_REG_HALF)); in emit_cat3()
325 iassert(!((src3->flags ^ src_flags) & IR3_REG_HALF)); in emit_cat3()
342 IR3_REG_HALF | absneg); in emit_cat3()
348 IR3_REG_CONST | IR3_REG_R | IR3_REG_HALF | absneg); in emit_cat3()
353 IR3_REG_R | IR3_REG_HALF | absneg); in emit_cat3()
359 IR3_REG_CONST | IR3_REG_R | IR3_REG_HALF | absneg); in emit_cat3()
367 IR3_REG_HALF | absneg); in emit_cat3()
373 IR3_REG_CONST | IR3_REG_R | IR3_REG_HALF | absneg); in emit_cat3()
378 IR3_REG_R | IR3_REG_HALF | absneg); in emit_cat3()
384 cat3->dst = reg(dst, info, instr->repeat, IR3_REG_R | IR3_REG_HALF); in emit_cat3()
389 cat3->dst_half = !!((src_flags ^ dst->flags) & IR3_REG_HALF); in emit_cat3()
411 IR3_REG_FABS | IR3_REG_R | IR3_REG_HALF); in emit_cat4()
418 IR3_REG_R | IR3_REG_HALF); in emit_cat4()
424 IR3_REG_R | IR3_REG_HALF); in emit_cat4()
432 cat4->dst = reg(dst, info, instr->repeat, IR3_REG_R | IR3_REG_HALF); in emit_cat4()
437 cat4->dst_half = !!((src->flags ^ dst->flags) & IR3_REG_HALF); in emit_cat4()
438 cat4->full = ! (src->flags & IR3_REG_HALF); in emit_cat4()
475 cat5->full = ! (src1->flags & IR3_REG_HALF); in emit_cat5()
476 cat5->src1 = reg(src1, info, instr->repeat, IR3_REG_HALF); in emit_cat5()
480 iassert(!((src1->flags ^ src2->flags) & IR3_REG_HALF)); in emit_cat5()
481 cat5->src2 = reg(src2, info, instr->repeat, IR3_REG_HALF); in emit_cat5()
492 (instr->flags & IR3_INSTR_B) ? 0 : IR3_REG_HALF); in emit_cat5()
520 cat5->dst = reg(dst, info, instr->repeat, IR3_REG_R | IR3_REG_HALF); in emit_cat5()
739 ldgb->dst = reg(dst, info, instr->repeat, IR3_REG_R | IR3_REG_HALF); in emit_cat6()
778 ldgb->dst = reg(dst, info, instr->repeat, IR3_REG_R | IR3_REG_HALF); in emit_cat6()
799 ldgb->dst = reg(dst, info, instr->repeat, IR3_REG_R | IR3_REG_HALF); in emit_cat6()
860 cat6b->src1 = reg(src1, info, instr->repeat, IR3_REG_IMMED | IR3_REG_HALF); in emit_cat6()
872 cat6c->dst = reg(dst, info, instr->repeat, IR3_REG_R | IR3_REG_HALF); in emit_cat6()
876 cat6c->off = reg(src3, info, instr->repeat, IR3_REG_R | IR3_REG_HALF); in emit_cat6()
889 cat6d->dst = reg(dst, info, instr->repeat, IR3_REG_R | IR3_REG_HALF); in emit_cat6()
1243 instr->regs[0]->flags |= IR3_REG_HALF; in ir3_set_dst_type()
1245 instr->regs[0]->flags &= ~IR3_REG_HALF; in ir3_set_dst_type()
1280 bool half = !!(instr->regs[1]->flags & IR3_REG_HALF); in ir3_fixup_src_type()