Home
last modified time | relevance | path

Searched refs:vop3p (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
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() local
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->opsel_lo & ~(1 << i)); in propagate_constants_vop3p()
1015 vop3p->opsel_hi = opsel_hi ? (vop3p->opsel_hi | (1 << i)) : (vop3p->opsel_hi & ~(1 << i)); in propagate_constants_vop3p()
3211 instr->vop3p().clamp = true; in apply_omod_clamp()
3449 VOP3P_instruction* vop3p = &instr->vop3p(); in combine_vop3p() local
[all …]
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()
Daco_ir.h1237 VOP3P_instruction& vop3p() noexcept in vop3p() function
1242 const VOP3P_instruction& vop3p() const noexcept in vop3p() function
1762 const VOP3P_instruction& vop3p = this->vop3p(); in usesModifiers() local
1764 if (vop3p.neg_lo[i] || vop3p.neg_hi[i]) in usesModifiers()
1768 if (!(vop3p.opsel_hi & (1 << i))) in usesModifiers()
1771 return vop3p.opsel_lo || vop3p.clamp; in usesModifiers()
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()
Daco_opt_value_numbering.cpp229 VOP3P_instruction& a3P = a->vop3p(); in operator ()()
230 VOP3P_instruction& b3P = b->vop3p(); in operator ()()
Daco_instruction_selection.cpp989 Builder::Result res = bld.vop3p(op, Definition(dst), src0, src1, opsel_lo, opsel_hi); in emit_vop3p_instruction()
1008 bld.vop3p(op, Definition(dst), src[0], src[1], src[2], 0x0, 0x7).instr->vop3p().clamp = clamp; in emit_idot_instruction()
1515 Temp sub = bld.vop3p(aco_opcode::v_pk_sub_u16, Definition(bld.tmp(v1)), Operand::zero(), in visit_alu_instr()
1517 bld.vop3p(aco_opcode::v_pk_max_i16, Definition(dst), sub, src, opsel_lo, opsel_hi); in visit_alu_instr()
1897 add_instr->vop3p().clamp = 1; in visit_alu_instr()
1980 add_instr->vop3p().clamp = 1; in visit_alu_instr()
2140 sub_instr->vop3p().clamp = 1; in visit_alu_instr()
2222 sub_instr->vop3p().clamp = 1; in visit_alu_instr()
2358 VOP3P_instruction& sub = add->vop3p(); in visit_alu_instr()
2402 bld.vop3p(aco_opcode::v_pk_fma_f16, Definition(dst), src0, src1, src2, opsel_lo, opsel_hi); in visit_alu_instr()
[all …]
Daco_assembler.cpp647 VOP3P_instruction& vop3 = instr->vop3p(); in emit_instruction()
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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPU.td281 def FeatureVOP3P : SubtargetFeature<"vop3p",
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_optimizer.cpp1675 writeout((*idx)++, bld.vop3p(op, bld.def(v1), bld.copy(bld.def(v1), Operand::c32(val)), in vop3p_constant()
/third_party/mesa3d/docs/relnotes/
D22.2.0.rst5228 - aco: fix propagate_constants_vop3p with integer vop3p and 16-bit constants
5232 - aco: don't use 32-bit fp inline constants for fp16 vop3p literals
5233 - aco/tests: add vop3p constant combine tests
D21.0.0.rst840 - aco: create helpers to emit vop3p instructions
D21.1.0.rst1348 - aco: create helpers to emit vop3p instructions