aco: relax condition to remove branches in case of few instructions
This patch relaxes the conditions under which we remove branch instructions.
Removing the branches now happens especially in the situation of divergent breaks: the outer branch instruction can be removed
PERCENTAGE DELTAS Shaders CodeSize Instrs Latency InvThroughput Branches
assassins_creed_origins 2104 -0.08% -0.10% +0.00% +0.00% -4.19%
battlefront2 4568 -0.07% -0.10% -0.01% -0.01% -3.81%
britannia 465 -0.02% -0.02% +0.02% +0.00% -0.72%
control_msaa4x 752 -0.03% -0.03% -0.00% -0.00% -1.18%
control_no_msaa 752 -0.03% -0.03% -0.00% -0.00% -1.18%
cyberpunk_2077 5465 -0.10% -0.13% -0.00% -0.00% -4.21%
dark_souls_1_remastered 2017 -0.03% -0.04% +0.03% . -1.23%
dark_souls_2_sotfs 3262 . . . . .
dark_souls_3 8904 -0.07% -0.10% +0.03% +0.01% -4.85%
death_stranding 1467 -0.08% -0.10% -0.01% +0.00% -4.09%
detroit_become_human 19959 -0.20% -0.27% +0.00% +0.00% -7.43%
deus_ex_md 8063 -0.01% -0.01% +0.00% +0.00% -0.30%
dirt4 4030 -0.12% -0.16% +0.01% +0.01% -5.33%
doom_2016 2045 -0.05% -0.06% +0.01% +0.00% -1.65%
doom_eternal 1211 -0.10% -0.13% +0.03% +0.02% -2.80%
dota2 1015 -0.03% -0.04% -0.00% . -1.34%
dow3 280 -0.02% -0.03% -0.00% +0.00% -0.74%
evilwithin_demo 740 -0.03% -0.04% -0.00% +0.00% -1.08%
f12017 3365 -0.07% -0.10% +0.04% +0.03% -2.96%
gtav 2987 -0.00% -0.00% +0.00% . -0.09%
hitman 1606 -0.07% -0.09% +0.03% +0.02% -3.14%
madmax 948 -0.01% -0.01% +0.01% +0.00% -0.38%
PERCENTAGE DELTAS Shaders CodeSize Instrs Latency InvThroughput Branches
monster_hunter_world_d3d11 3122 -0.07% -0.10% -0.00% -0.00% -2.70%
monster_hunter_world_d3d12 450 -0.17% -0.24% -0.01% +0.00% -8.42%
nier 2422 -0.02% -0.02% +0.02% +0.02% -0.74%
parallel-rdp/small_subgroup 246 -0.03% -0.04% +0.00% . -1.09%
parallel-rdp/small_uber_subgroup 55 -0.16% -0.25% -0.01% -0.01% -6.80%
parallel-rdp/subgroup 327 -0.02% -0.03% +0.00% . -0.94%
parallel-rdp/uber_subgroup 55 -0.22% -0.30% -0.01% -0.01% -7.30%
rage2 6876 -0.07% -0.10% +0.01% +0.01% -3.26%
rdr2 3888 -0.10% -0.14% +0.01% +0.09% -3.68%
redout 2509 -0.07% -0.09% +0.00% +0.00% -3.58%
rottr 8120 -0.04% -0.05% +0.02% +0.01% -1.62%
sottr_demo 5705 -0.15% -0.20% +0.03% +0.03% -6.98%
strange_brigade 1417 -0.06% -0.08% +0.00% -0.00% -2.12%
talos 794 -0.00% -0.00% +0.01% -0.00% -0.23%
thewitness 3150 -0.04% -0.06% -0.01% +0.01% -2.99%
threekingdoms 844 -0.01% -0.02% +0.00% +0.00% -0.75%
tomb_raider 6410 -0.00% -0.00% +0.00% . -0.02%
warhammer2 1803 -0.02% -0.03% -0.00% . -1.05%
wolfenstein2_fp16 1012 -0.11% -0.14% +0.02% +0.01% -3.75%
worldofwarships 2130 -0.03% -0.03% +0.01% . -1.38%
youngblood 631 -0.11% -0.14% +0.02% +0.01% -3.87%
youngblood_fp16 682 -0.13% -0.17% +0.02% +0.01% -4.54%
------------------------------------------------------------------------------------------------
All affected 22891 -0.21% -0.28% +0.02% +0.02% -9.82%
------------------------------------------------------------------------------------------------
Total 128653 -0.10% -0.13% +0.01% +0.01% -4.30%