57c152af9c
This is based on the NIR range analysis. v_mul_u32_u24 is VOP2, while v_mul_lo_u32 is VOP3, so that should reduce codesize. fossils-db (Vega10): Totals from 12590 (9.22% of 136546) affected shaders: SGPRs: 680207 -> 677271 (-0.43%); split: -0.47%, +0.04% VGPRs: 620840 -> 620856 (+0.00%); split: -0.02%, +0.02% CodeSize: 37930200 -> 37774088 (-0.41%); split: -0.41%, +0.00% Instrs: 7463550 -> 7458120 (-0.07%); split: -0.07%, +0.00% Cycles: 133487628 -> 133427532 (-0.05%); split: -0.05%, +0.00% VMEM: 2514729 -> 2513426 (-0.05%); split: +0.02%, -0.08% SMEM: 1533579 -> 1532795 (-0.05%); split: +0.05%, -0.10% VClause: 231391 -> 231389 (-0.00%); split: -0.01%, +0.00% SClause: 255352 -> 255294 (-0.02%); split: -0.04%, +0.02% Copies: 605821 -> 600352 (-0.90%); split: -0.92%, +0.02% Branches: 133739 -> 133743 (+0.00%); split: -0.00%, +0.00% PreSGPRs: 351092 -> 348048 (-0.87%) Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7405>