aco: don't split VOP3P definitions

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13576>
This commit is contained in:
Daniel Schürmann 2021-10-04 11:29:04 +01:00 committed by Marge Bot
parent 7e02787a54
commit 16a527deef

View file

@ -968,7 +968,6 @@ emit_vop3p_instruction(isel_context* ctx, nir_alu_instr* instr, aco_opcode op, T
Builder bld(ctx->program, ctx->block);
bld.is_precise = instr->exact;
Builder::Result res = bld.vop3p(op, Definition(dst), src0, src1, opsel_lo, opsel_hi);
emit_split_vector(ctx, dst, 2);
return res;
}
@ -2126,7 +2125,6 @@ visit_alu_instr(isel_context* ctx, nir_alu_instr* instr)
}
bld.vop3p(aco_opcode::v_pk_fma_f16, Definition(dst), src0, src1, src2, opsel_lo, opsel_hi);
emit_split_vector(ctx, dst, 2);
} else if (dst.regClass() == v1) {
emit_vop3a_instruction(ctx, instr, aco_opcode::v_fma_f32, dst,
ctx->block->fp_mode.must_flush_denorms32, 3);
@ -2251,7 +2249,6 @@ visit_alu_instr(isel_context* ctx, nir_alu_instr* instr)
instr->src[0].swizzle[0] & 1, instr->src[0].swizzle[1] & 1);
vop3p->vop3p().neg_lo[0] = true;
vop3p->vop3p().neg_hi[0] = true;
emit_split_vector(ctx, dst, 2);
break;
}
Temp src = get_alu_src(ctx, instr->src[0]);
@ -2305,7 +2302,6 @@ visit_alu_instr(isel_context* ctx, nir_alu_instr* instr)
bld.vop3p(aco_opcode::v_pk_mul_f16, Definition(dst), src, Operand::c16(0x3C00),
instr->src[0].swizzle[0] & 1, instr->src[0].swizzle[1] & 1);
vop3p->vop3p().clamp = true;
emit_split_vector(ctx, dst, 2);
break;
}
Temp src = get_alu_src(ctx, instr->src[0]);