]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: switch mov insns to compact syntax
authorAndrew Stubbs <ams@codesourcery.com>
Mon, 2 Oct 2023 10:42:03 +0000 (11:42 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Fri, 10 Nov 2023 17:57:03 +0000 (17:57 +0000)
commit666dc24ef00ad6e4ee6c711a560fd9356634bde2
tree0d18d1a31bccb7b259c1d46af75f0adc8c2f0893
parent206422f6e6ce902cfbca4121b972ef3df04ab993
amdgcn: switch mov insns to compact syntax

The move instructions typically have many alternatives (and I'm about to add
more) so are good candidates for the new syntax.

This patch only converts the patterns where there are no significant changes to
the generated files. The other patterns can be converted another time.

gcc/ChangeLog:

* config/gcn/gcn-valu.md (*mov<mode>): Convert to compact syntax.
(mov<mode>_exec): Likewise.
(mov<mode>_sgprbase): Likewise.
* config/gcn/gcn.md (*mov<mode>_insn): Likewise.
(*movti_insn): Likewise.

(cherry picked from commit ddfa43933ebc9e6508f0df9e748a765a74e01809)
gcc/ChangeLog.omp
gcc/config/gcn/gcn-valu.md
gcc/config/gcn/gcn.md