mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-17 09:38:05 +02:00
While they allow a const src, they don't allow the full range of const registers since the encoding only uses 8 bits. Add a new helper (ir3_valid_const) that indicates this and use that in ir3_cp. Totals from 2278 (1.29% of 176266) affected shaders: MaxWaves: 30124 -> 30376 (+0.84%) Instrs: 1472806 -> 1468750 (-0.28%); split: -0.44%, +0.16% CodeSize: 2990430 -> 2967568 (-0.76%); split: -0.88%, +0.11% NOPs: 244627 -> 246385 (+0.72%); split: -1.71%, +2.43% MOVs: 51408 -> 45667 (-11.17%); split: -13.16%, +1.99% Full: 35639 -> 35216 (-1.19%) (ss): 46519 -> 42591 (-8.44%); split: -12.16%, +3.71% (sy): 16763 -> 17269 (+3.02%); split: -1.35%, +4.37% (ss)-stall: 187784 -> 180294 (-3.99%); split: -9.06%, +5.07% (sy)-stall: 922477 -> 936696 (+1.54%); split: -3.40%, +4.94% Cat0: 268783 -> 270558 (+0.66%); split: -1.54%, +2.20% Cat1: 63982 -> 58277 (-8.92%); split: -10.59%, +1.68% Cat2: 523798 -> 523707 (-0.02%) Cat7: 47476 -> 47441 (-0.07%); split: -0.11%, +0.03% Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41365> |
||
|---|---|---|
| .. | ||
| ci | ||
| common | ||
| computerator | ||
| decode | ||
| drm | ||
| drm-shim | ||
| ds | ||
| fdl | ||
| ir2 | ||
| ir3 | ||
| isa | ||
| perfcntrs | ||
| qrisc | ||
| registers | ||
| rnn | ||
| tests | ||
| vulkan | ||
| .clang-format | ||
| .dir-locals.el | ||
| .editorconfig | ||
| meson.build | ||