Home
last modified time | relevance | path

Searched refs:vop3p (Results 1 - 9 of 9) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
H A Daco_optimizer.cpp904 return instr->vop3p().opsel_hi & (1u << index) ? 16 : 32; in get_operand_size()
941 VOP3P_instruction* vop3p = &instr->vop3p(); in propagate_constants_vop3p()
942 bool opsel_lo = (vop3p->opsel_lo >> i) & 1; in propagate_constants_vop3p()
943 bool opsel_hi = (vop3p->opsel_hi >> i) & 1; in propagate_constants_vop3p()
1006 vop3p->neg_lo[i] ^= opsel_lo ^ neg_lo; in propagate_constants_vop3p()
1007 vop3p->neg_hi[i] ^= opsel_hi ^ neg_lo; in propagate_constants_vop3p()
1014 vop3p->opsel_lo = opsel_lo ? (vop3p->opsel_lo | (1 << i)) : (vop3p in propagate_constants_vop3p()
3449 VOP3P_instruction* vop3p = &instr->vop3p(); combine_vop3p() local
4018 VOP3P_instruction& vop3p = mul_instr->vop3p(); combine_instruction() local
4043 VOP3P_instruction& vop3p = instr->vop3p(); combine_instruction() local
[all...]
H A Daco_print_ir.cpp554 if (instr->vop3p().clamp) in print_instr_format_specific()
701 const VOP3P_instruction& vop3p = instr->vop3p(); in aco_print_instr() local
703 abs[i] = vop3p.neg_hi[i]; in aco_print_instr()
704 neg[i] = vop3p.neg_lo[i]; in aco_print_instr()
705 f2f32[i] = vop3p.opsel_hi & (1 << i); in aco_print_instr()
706 opsel[i] = f2f32[i] && (vop3p.opsel_lo & (1 << i)); in aco_print_instr()
730 const VOP3P_instruction& vop3 = instr->vop3p(); in aco_print_instr()
H A Daco_ir.h811 /* Value if this were used with vop3/opsel or vop3p. */
1237 VOP3P_instruction& vop3p() noexcept
1242 const VOP3P_instruction& vop3p() const noexcept
1762 const VOP3P_instruction& vop3p = this->vop3p();
1764 if (vop3p.neg_lo[i] || vop3p.neg_hi[i])
1768 if (!(vop3p.opsel_hi & (1 << i)))
1771 return vop3p.opsel_lo || vop3p
[all...]
H A Daco_validate.cpp247 VOP3P_instruction& vop3p = instr->vop3p(); in validate_ir() local
251 check((vop3p.opsel_lo & (1 << i)) == 0 && (vop3p.opsel_hi & (1 << i)) == 0, in validate_ir()
805 return ((instr->vop3p().opsel_lo >> index) & 1) == (byte >> 1) && in validate_subdword_operand()
806 ((instr->vop3p().opsel_hi >> index) & 1) == (fma_mix || (byte >> 1)); in validate_subdword_operand()
H A Daco_opt_value_numbering.cpp229 VOP3P_instruction& a3P = a->vop3p(); in operator ()()
230 VOP3P_instruction& b3P = b->vop3p(); in operator ()()
H A Daco_instruction_selection.cpp786 /* returns v2b or v1 for vop3p usage.
989 Builder::Result res = bld.vop3p(op, Definition(dst), src0, src1, opsel_lo, opsel_hi);
1008 bld.vop3p(op, Definition(dst), src[0], src[1], src[2], 0x0, 0x7).instr->vop3p().clamp = clamp;
1515 Temp sub = bld.vop3p(aco_opcode::v_pk_sub_u16, Definition(bld.tmp(v1)), Operand::zero(),
1517 bld.vop3p(aco_opcode::v_pk_max_i16, Definition(dst), sub, src, opsel_lo, opsel_hi);
1897 add_instr->vop3p().clamp = 1;
1980 add_instr->vop3p().clamp = 1;
2140 sub_instr->vop3p().clamp = 1;
2222 sub_instr->vop3p()
[all...]
H A Daco_assembler.cpp647 VOP3P_instruction& vop3 = instr->vop3p(); in emit_instruction()
H A Daco_register_allocation.cpp550 assert(byte == 2 && !(instr->vop3p().opsel_lo & (1 << idx))); in add_subdword_operand()
551 instr->vop3p().opsel_lo |= 1 << idx; in add_subdword_operand()
552 instr->vop3p().opsel_hi |= 1 << idx; in add_subdword_operand()
/third_party/mesa3d/src/amd/compiler/tests/
H A Dtest_optimizer.cpp1675 writeout((*idx)++, bld.vop3p(op, bld.def(v1), bld.copy(bld.def(v1), Operand::c32(val)), in vop3p_constant()

Completed in 39 milliseconds