]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: Split pattern for TI to V1TI move [PR103124]
authorHaochen Gui <guihaoc@gcc.gnu.org>
Mon, 17 Jan 2022 03:24:20 +0000 (11:24 +0800)
committerHaochen Gui <guihaoc@gcc.gnu.org>
Mon, 17 Jan 2022 05:27:16 +0000 (13:27 +0800)
commit240dd6c063b481c092c9ec406b69b400f6f033f1
treebb3d31b9135207c738a77a046540b4dd5ba8051e
parent1e942d7c05c66ccc477567506a6bf86d91cae429
rs6000: Split pattern for TI to V1TI move [PR103124]

This patch defines a new split pattern for TI to V1TI move.  The pattern concatenates two subreg:DI of a TI to a V2DI.  With the pattern, the subreg pass can do register split for TI when there is a TI to V1TI move.

gcc/

PR target/103124
* config/rs6000/vsx.md (split pattern for TI to V1TI move): Defined.

gcc/testsuite/

PR target/103124
* gcc.target/powerpc/pr103124.c: New testcase.
gcc/config/rs6000/vsx.md
gcc/testsuite/gcc.target/powerpc/pr103124.c [new file with mode: 0644]