mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-08 23:00:28 +01:00
Logical sends and load_payload can have large VGRFs that cannot be split. Once all of the lowering passes and optimization passes that might eliminate any of those instructions have completed, try to split larger VGRFs one last time. Register allocation can only handle VGRFs up to a certain size, so this is the last opportunity to prevent later failures due to VGRFs that are too large. Closes: #13239 shader-db: Lunar Lake, Meteor Lake, DG2, and Tiger Lake had similar results. (Lunar Lake shown) total instructions in shared programs: 17114494 -> 17114496 (<.01%) instructions in affected programs: 2790 -> 2792 (0.07%) helped: 2 / HURT: 4 total cycles in shared programs: 886617364 -> 886315282 (-0.03%) cycles in affected programs: 4067540 -> 3765458 (-7.43%) helped: 48 / HURT: 9 Ice Lake and Skylake had similar restuls. (Ice Lake shown) total instructions in shared programs: 20799801 -> 20799691 (<.01%) instructions in affected programs: 1210 -> 1100 (-9.09%) helped: 1 / HURT: 0 total cycles in shared programs: 865495386 -> 865498990 (<.01%) cycles in affected programs: 60132 -> 63736 (5.99%) helped: 2 / HURT: 1 total spills in shared programs: 3987 -> 3981 (-0.15%) spills in affected programs: 24 -> 18 (-25.00%) helped: 1 / HURT: 0 total fills in shared programs: 3535 -> 3519 (-0.45%) fills in affected programs: 36 -> 20 (-44.44%) helped: 1 / HURT: 0 fossil-db: All Intel platforms had similar results. (Lunar Lake shown) Totals: Instrs: 208647246 -> 208646499 (-0.00%); split: -0.00%, +0.00% Cycle count: 31257819536 -> 31263957016 (+0.02%); split: -0.02%, +0.04% Max live registers: 66160877 -> 66155728 (-0.01%) Totals from 34703 (4.91% of 707053) affected shaders: Instrs: 13766639 -> 13765892 (-0.01%); split: -0.02%, +0.01% Cycle count: 3693572086 -> 3699709566 (+0.17%); split: -0.15%, +0.32% Max live registers: 4843852 -> 4838703 (-0.11%) Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36202> |
||
|---|---|---|
| .. | ||
| amd | ||
| android_stub | ||
| asahi | ||
| broadcom | ||
| c11 | ||
| compiler | ||
| drm-shim | ||
| egl | ||
| etnaviv | ||
| freedreno | ||
| gallium | ||
| gbm | ||
| getopt | ||
| gfxstream | ||
| glx | ||
| gtest | ||
| imagination | ||
| imgui | ||
| intel | ||
| loader | ||
| mapi | ||
| mesa | ||
| microsoft | ||
| nouveau | ||
| panfrost | ||
| tool | ||
| util | ||
| virtio | ||
| vulkan | ||
| x11 | ||
| .clang-format | ||
| meson.build | ||