mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
aco: create VMEM clauses slightly more aggressive
Totals from 3325 (2.39% of 139391) affected shaders (NAVI10): SGPRs: 331528 -> 331056 (-0.14%); split: -0.14%, +0.00% VGPRs: 306164 -> 337764 (+10.32%); split: -0.02%, +10.34% CodeSize: 38843180 -> 38865388 (+0.06%); split: -0.04%, +0.10% MaxWaves: 18908 -> 17028 (-9.94%); split: +0.01%, -9.95% Instrs: 7423908 -> 7427934 (+0.05%); split: -0.06%, +0.12% Cycles: 527411756 -> 526388408 (-0.19%); split: -0.21%, +0.02% VMEM: 1148421 -> 992660 (-13.56%); split: +0.10%, -13.67% SMEM: 227337 -> 232380 (+2.22%); split: +2.26%, -0.04% VClause: 146416 -> 111171 (-24.07%); split: -24.10%, +0.03% SClause: 243674 -> 243689 (+0.01%); split: -0.00%, +0.01% Copies: 663496 -> 660333 (-0.48%); split: -0.85%, +0.37% Branches: 223725 -> 223721 (-0.00%) Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7903>
This commit is contained in:
parent
ac40301dbb
commit
b1e12747b9
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@
|
|||
#define SMEM_MAX_MOVES (64 - ctx.num_waves * 4)
|
||||
#define VMEM_MAX_MOVES (256 - ctx.num_waves * 16)
|
||||
/* creating clauses decreases def-use distances, so make it less aggressive the lower num_waves is */
|
||||
#define VMEM_CLAUSE_MAX_GRAB_DIST ((ctx.num_waves - 1) * 8)
|
||||
#define VMEM_CLAUSE_MAX_GRAB_DIST (ctx.num_waves * 8)
|
||||
#define POS_EXP_MAX_MOVES 512
|
||||
|
||||
namespace aco {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue