mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 16:10:23 +01:00
read-only mirror of https://gitlab.freedesktop.org/mesa/mesa
The old version worked by precoloring both the operand and definition to whatever register the operand was at the time. This didn't allow moving the operand/definition after precoloring them, or two tied operands with the same temporary. The new version works by temporarily making the operands late kill and creating a copy if the temporary is live-through or used as another tied operand. Then we can simply later make the operands early kill again and assign the definitions to the operand's register. This way, we can move the operand to make space and the new location will not intersect with any other definition and won't cause the operand and definition registers to mismatch. fossil-db (gfx1201): Totals from 2253 (2.84% of 79377) affected shaders: Instrs: 1634747 -> 1630799 (-0.24%); split: -0.27%, +0.03% CodeSize: 8688148 -> 8672348 (-0.18%); split: -0.20%, +0.02% VGPRs: 106500 -> 106512 (+0.01%) Latency: 11385480 -> 11382965 (-0.02%); split: -0.04%, +0.01% InvThroughput: 1754430 -> 1754326 (-0.01%); split: -0.01%, +0.00% SClause: 38954 -> 38964 (+0.03%); split: -0.01%, +0.04% Copies: 110772 -> 110800 (+0.03%); split: -0.02%, +0.04% Branches: 29093 -> 29092 (-0.00%) VALU: 902011 -> 902008 (-0.00%) SALU: 260175 -> 260203 (+0.01%); split: -0.01%, +0.02% fossil-db (navi31): Totals from 2 (0.00% of 79377) affected shaders: Latency: 1766 -> 1765 (-0.06%) InvThroughput: 3219 -> 3215 (-0.12%) fossil-db (navi21): Totals from 14 (0.02% of 79377) affected shaders: (no affected stats) Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34700> |
||
|---|---|---|
| .ci-farms | ||
| .ci-farms-disabled | ||
| .github/workflows | ||
| .gitlab | ||
| .gitlab-ci | ||
| .marge/hooks | ||
| android | ||
| bin | ||
| build-support | ||
| docs | ||
| include | ||
| licenses | ||
| src | ||
| subprojects | ||
| .clang-format | ||
| .clang-format-ignore | ||
| .clang-format-include | ||
| .dir-locals.el | ||
| .editorconfig | ||
| .git-blame-ignore-revs | ||
| .gitattributes | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .graphqlrc.yml | ||
| .mailmap | ||
| .mr-label-maker.yml | ||
| .shellcheckrc | ||
| CODEOWNERS | ||
| meson.build | ||
| meson.options | ||
| README.rst | ||
| rustfmt.toml | ||
| VERSION | ||
`Mesa <https://mesa3d.org>`_ - The 3D Graphics Library ====================================================== Source ------ This repository lives at https://gitlab.freedesktop.org/mesa/mesa. Other repositories are likely forks, and code found there is not supported. Build & install --------------- You can find more information in our documentation (`docs/install.rst <https://docs.mesa3d.org/install.html>`_), but the recommended way is to use Meson (`docs/meson.rst <https://docs.mesa3d.org/meson.html>`_): .. code-block:: sh $ meson setup build $ ninja -C build/ $ sudo ninja -C build/ install Support ------- Many Mesa devs hang on IRC; if you're not sure which channel is appropriate, you should ask your question on `OFTC's #dri-devel <irc://irc.oftc.net/dri-devel>`_, someone will redirect you if necessary. Remember that not everyone is in the same timezone as you, so it might take a while before someone qualified sees your question. To figure out who you're talking to, or which nick to ping for your question, check out `Who's Who on IRC <https://dri.freedesktop.org/wiki/WhosWho/>`_. The next best option is to ask your question in an email to the mailing lists: `mesa-dev\@lists.freedesktop.org <https://lists.freedesktop.org/mailman/listinfo/mesa-dev>`_ Bug reports ----------- If you think something isn't working properly, please file a bug report (`docs/bugs.rst <https://docs.mesa3d.org/bugs.html>`_). Contributing ------------ Contributions are welcome, and step-by-step instructions can be found in our documentation (`docs/submittingpatches.rst <https://docs.mesa3d.org/submittingpatches.html>`_). Note that Mesa uses gitlab for patches submission, review and discussions.