Home
last modified time | relevance | path

Searched refs:opsel_hi (Results 1 – 12 of 12) 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()
943 bool opsel_hi = (vop3p->opsel_hi >> i) & 1; in propagate_constants_vop3p() local
948 if ((unsigned)opsel_lo != j && (unsigned)opsel_hi != j) in propagate_constants_vop3p()
969 if (opsel_lo == opsel_hi) { in propagate_constants_vop3p()
975 opsel_hi = opsel_lo; in propagate_constants_vop3p()
982 opsel_hi = const_lo_opsel; in propagate_constants_vop3p()
989 opsel_hi = opsel_hi ? const_hi_opsel : !const_hi_opsel; in propagate_constants_vop3p()
996 opsel_hi = opsel_hi ? !const_lo_opsel : const_lo_opsel; in propagate_constants_vop3p()
1007 vop3p->neg_hi[i] ^= opsel_hi ^ neg_lo; in propagate_constants_vop3p()
1011 opsel_hi = false; in propagate_constants_vop3p()
[all …]
Daco_opt_value_numbering.cpp235 return a3P.opsel_lo == b3P.opsel_lo && a3P.opsel_hi == b3P.opsel_hi && in operator ()()
Daco_print_ir.cpp705 f2f32[i] = vop3p.opsel_hi & (1 << i); in aco_print_instr()
731 if ((vop3.opsel_lo & (1 << i)) || !(vop3.opsel_hi & (1 << i))) { in aco_print_instr()
733 vop3.opsel_hi & (1 << i) ? 'y' : 'x'); in aco_print_instr()
Daco_assembler.cpp661 encoding |= ((vop3.opsel_hi & 0x4) ? 1 : 0) << 14; in emit_instruction()
669 encoding |= (vop3.opsel_hi & 0x3) << 27; in emit_instruction()
Daco_validate.cpp251 check((vop3p.opsel_lo & (1 << i)) == 0 && (vop3p.opsel_hi & (1 << i)) == 0, in validate_ir()
806 ((instr->vop3p().opsel_hi >> index) & 1) == (fma_mix || (byte >> 1)); in validate_subdword_operand()
Daco_ir.h1429 uint8_t opsel_hi : 3; member
1768 if (!(vop3p.opsel_hi & (1 << i))) in usesModifiers()
Daco_instruction_selection.cpp984 unsigned opsel_hi = in emit_vop3p_instruction() local
989 Builder::Result res = bld.vop3p(op, Definition(dst), src0, src1, opsel_lo, opsel_hi); in emit_vop3p_instruction()
1513 unsigned opsel_hi = ((instr->src[0].swizzle[1] & 1) << 1) | 1; in visit_alu_instr() local
1516 src, opsel_lo, opsel_hi); 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()
2396 unsigned opsel_lo = 0, opsel_hi = 0; in visit_alu_instr() local
2399 opsel_hi |= (instr->src[i].swizzle[1] & 1) << i; 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()
Daco_register_allocation.cpp552 instr->vop3p().opsel_hi |= 1 << idx; in add_subdword_operand()
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_optimizer.cpp1674 unsigned opsel_hi = swizzle[1] == 'x' ? 0x2 : 0x3; in vop3p_constant() local
1676 inputs[0], opsel_lo, opsel_hi)); in vop3p_constant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DVOP3PInstructions.td19 // VOP3 neg/abs and VOP3P opsel/opsel_hi modifiers are allowed.
/third_party/mesa3d/docs/relnotes/
D21.0.0.rst839 - aco: change usesModifiers() considering opsel_hi on packed instructions
D21.1.0.rst1347 - aco: change usesModifiers() considering opsel_hi on packed instructions