mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 23:10:11 +01:00
aco/isel: emit vop2 v_max_f64 for gfx12+
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38156>
This commit is contained in:
parent
8397b91934
commit
7ac67e2711
1 changed files with 2 additions and 0 deletions
|
|
@ -1969,6 +1969,8 @@ visit_alu_instr(isel_context* ctx, nir_alu_instr* instr)
|
|||
} else if (dst.regClass() == v1) {
|
||||
emit_vop2_instruction(ctx, instr, aco_opcode::v_max_f32, dst, true, false,
|
||||
ctx->block->fp_mode.must_flush_denorms32);
|
||||
} else if (dst.regClass() == v2 && ctx->options->gfx_level >= GFX12) {
|
||||
emit_vop2_instruction(ctx, instr, aco_opcode::v_max_f64, dst, true);
|
||||
} else if (dst.regClass() == v2) {
|
||||
emit_vop3a_instruction(ctx, instr, aco_opcode::v_max_f64_e64, dst,
|
||||
ctx->block->fp_mode.must_flush_denorms16_64);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue