Lines Matching refs:mux_b
571 uint32_t opcode, uint32_t mux_a, uint32_t mux_b) in lookup_opcode() argument
580 if (!(op_desc->mux_b_mask & (1 << mux_b))) in lookup_opcode()
711 uint32_t mux_b = QPU_GET_FIELD(packed_inst, VC5_QPU_ADD_B); in v3d_qpu_add_unpack() local
725 map_op, mux_a, mux_b); in v3d_qpu_add_unpack()
734 if (((op >> 2) & 3) * 8 + mux_a > (op & 3) * 8 + mux_b) { in v3d_qpu_add_unpack()
792 instr->alu.add.output_pack = mux_b & 0x3; in v3d_qpu_add_unpack()
831 instr->alu.add.b = mux_b; in v3d_qpu_add_unpack()
861 uint32_t mux_b = QPU_GET_FIELD(packed_inst, VC5_QPU_MUL_B); in v3d_qpu_mul_unpack() local
866 op, mux_a, mux_b); in v3d_qpu_mul_unpack()
891 ((mux_b >> 2) & 1)); in v3d_qpu_mul_unpack()
893 if (!v3d_qpu_float32_unpack_unpack(mux_b & 0x3, in v3d_qpu_mul_unpack()
920 instr->alu.mul.b = mux_b; in v3d_qpu_mul_unpack()
933 uint32_t mux_b = instr->alu.add.b; in v3d_qpu_add_pack() local
952 mux_b = ffs(desc->mux_b_mask) - 1; in v3d_qpu_add_pack()
1021 bool ordering = a_unpack * 8 + mux_a > b_unpack * 8 + mux_b; in v3d_qpu_add_pack()
1033 mux_a = mux_b; in v3d_qpu_add_pack()
1034 mux_b = temp; in v3d_qpu_add_pack()
1054 mux_b |= packed; in v3d_qpu_add_pack()
1109 *packed_instr |= QPU_SET_FIELD(mux_b, VC5_QPU_ADD_B); in v3d_qpu_add_pack()
1123 uint32_t mux_b = instr->alu.mul.b; in v3d_qpu_mul_pack() local
1141 mux_b = ffs(desc->mux_b_mask) - 1; in v3d_qpu_mul_pack()
1181 mux_b = (packed & 1) << 2; in v3d_qpu_mul_pack()
1187 mux_b |= packed; in v3d_qpu_mul_pack()
1217 *packed_instr |= QPU_SET_FIELD(mux_b, VC5_QPU_MUL_B); in v3d_qpu_mul_pack()