aco/statistics: update branch issue cycles

Foz-DB Navi31:
Totals from 14319 (18.04% of 79395) affected shaders:
Instrs: 20064495 -> 20062876 (-0.01%)
CodeSize: 105334568 -> 105327704 (-0.01%)

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31132>
This commit is contained in:
Georg Lehmann 2024-10-03 15:08:19 +02:00 committed by Marge Bot
parent ec11cfc69d
commit ced7a01954

View file

@ -178,7 +178,7 @@ get_perf_info(const Program& program, const Instruction& instr)
return {7, WAIT_USE(valu, 1), WAIT_USE(valu_complex, 1)};
case instr_class::smem: return {0, WAIT_USE(scalar, 1)};
case instr_class::branch:
case instr_class::sendmsg: return {0, WAIT_USE(branch_sendmsg, 1)};
case instr_class::sendmsg: return {0, WAIT_USE(branch_sendmsg, 3)};
case instr_class::ds:
return instr.isDS() && instr.ds().gds ? perf_info{0, WAIT_USE(export_gds, 1)}
: perf_info{0, WAIT_USE(lds, 1)};
@ -210,9 +210,7 @@ get_perf_info(const Program& program, const Instruction& instr)
case instr_class::valu_double_transcendental: return {64, WAIT_USE(valu, 64)};
case instr_class::salu: return {4, WAIT_USE(scalar, 4)};
case instr_class::smem: return {4, WAIT_USE(scalar, 4)};
case instr_class::branch:
return {8, WAIT_USE(branch_sendmsg, 8)};
return {4, WAIT_USE(branch_sendmsg, 4)};
case instr_class::branch: return {4, WAIT_USE(branch_sendmsg, 4)};
case instr_class::ds:
return instr.isDS() && instr.ds().gds ? perf_info{4, WAIT_USE(export_gds, 4)}
: perf_info{4, WAIT_USE(lds, 4)};