mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
aco: don't assume that v_interp_mov_f32 flushes denorms
Foz-DB Navi21: Totals from 3 (0.00% of 79789) affected shaders: Instrs: 1708 -> 1722 (+0.82%) CodeSize: 9416 -> 9460 (+0.47%) Latency: 12094 -> 12371 (+2.29%); split: -0.02%, +2.31% InvThroughput: 1967 -> 1992 (+1.27%) Copies: 105 -> 106 (+0.95%) PreVGPRs: 131 -> 132 (+0.76%) VALU: 1155 -> 1169 (+1.21%) Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33974>
This commit is contained in:
parent
dfa725cede
commit
5bfd1547d2
1 changed files with 1 additions and 1 deletions
|
|
@ -1651,7 +1651,7 @@ label_instruction(opt_ctx& ctx, aco_ptr<Instruction>& instr)
|
|||
return;
|
||||
}
|
||||
|
||||
if (instr->isVALU() || instr->isVINTRP()) {
|
||||
if (instr->isVALU() || (instr->isVINTRP() && instr->opcode != aco_opcode::v_interp_mov_f32)) {
|
||||
if (instr_info.can_use_output_modifiers[(int)instr->opcode] || instr->isVINTRP() ||
|
||||
instr->opcode == aco_opcode::v_cndmask_b32) {
|
||||
bool canonicalized = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue