Home
last modified time | relevance | path

Searched refs:opsel_lo (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_optimizer.cpp942 bool opsel_lo = (vop3p->opsel_lo >> 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()
971 instr->operands[i] = opsel_lo ? const_hi : const_lo; in propagate_constants_vop3p()
974 opsel_lo = opsel_lo ? const_hi_opsel : const_lo_opsel; in propagate_constants_vop3p()
975 opsel_hi = opsel_lo; in propagate_constants_vop3p()
981 opsel_lo = const_lo_opsel; in propagate_constants_vop3p()
988 opsel_lo = opsel_lo ? const_hi_opsel : !const_hi_opsel; in propagate_constants_vop3p()
995 opsel_lo = opsel_lo ? !const_lo_opsel : const_lo_opsel; in propagate_constants_vop3p()
1006 vop3p->neg_lo[i] ^= opsel_lo ^ neg_lo; 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.cpp706 opsel[i] = f2f32[i] && (vop3p.opsel_lo & (1 << i)); in aco_print_instr()
731 if ((vop3.opsel_lo & (1 << i)) || !(vop3.opsel_hi & (1 << i))) { in aco_print_instr()
732 fprintf(output, ".%c%c", vop3.opsel_lo & (1 << i) ? 'y' : 'x', in aco_print_instr()
Daco_validate.cpp251 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()
Daco_ir.h1428 uint8_t opsel_lo : 3; member
1771 return vop3p.opsel_lo || vop3p.clamp; in usesModifiers()
Daco_assembler.cpp660 encoding |= vop3.opsel_lo << 11; 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()
Daco_instruction_selection.cpp982 unsigned opsel_lo = in emit_vop3p_instruction() local
989 Builder::Result res = bld.vop3p(op, Definition(dst), src0, src1, opsel_lo, opsel_hi); in emit_vop3p_instruction()
1512 unsigned opsel_lo = (instr->src[0].swizzle[0] & 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
2398 opsel_lo |= (instr->src[i].swizzle[0] & 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()
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_optimizer.cpp1673 unsigned opsel_lo = swizzle[0] == 'x' ? 0x0 : 0x1; in vop3p_constant() local
1676 inputs[0], opsel_lo, opsel_hi)); in vop3p_constant()