aco/optimizer: back propagate modifiers through rcp
Foz-DB Navi21: Totals from 5 (0.01% of 97591) affected shaders: Instrs: 1473 -> 1468 (-0.34%) CodeSize: 7664 -> 7660 (-0.05%) Latency: 25897 -> 25863 (-0.13%) InvThroughput: 2737 -> 2731 (-0.22%) VALU: 1141 -> 1136 (-0.44%) Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38658>
This commit is contained in:
@@ -3165,6 +3165,11 @@ backpropagate_input_modifiers(opt_ctx& ctx, alu_opt_info& info, const alu_opt_op
|
||||
case aco_opcode::s_mul_f32:
|
||||
case aco_opcode::s_mul_f16:
|
||||
case aco_opcode::v_pk_mul_f16:
|
||||
case aco_opcode::v_rcp_f64:
|
||||
case aco_opcode::v_rcp_f32:
|
||||
case aco_opcode::v_rcp_f16:
|
||||
case aco_opcode::v_s_rcp_f32:
|
||||
case aco_opcode::v_s_rcp_f16:
|
||||
case aco_opcode::v_cvt_f32_f64:
|
||||
case aco_opcode::v_cvt_f64_f32:
|
||||
case aco_opcode::v_cvt_f16_f32:
|
||||
|
||||
Reference in New Issue
Block a user