]> gcc.gnu.org Git - gcc.git/commit
Make addti3/subti3 be define_insn_and_split, instead of define_expand
authorMichael Meissner <meissner@linux.ibm.com>
Sat, 19 Mar 2022 01:24:14 +0000 (21:24 -0400)
committerMichael Meissner <meissner@linux.ibm.com>
Tue, 22 Mar 2022 17:40:18 +0000 (13:40 -0400)
commita3fd5a0b72b49f9878f46f9c30116a1a43d08a84
treedf526a933a0de67f605edba25fab0485271007c9
parentcda85a83e5ecfb5941f8e0a7e91492b746810118
Make addti3/subti3 be define_insn_and_split, instead of define_expand

This patch makes addti3 and subti3 be define_insn_and_split instead of
define_expand.  This patch will be a building block to support in a future
patch PR target/103109 which wants to optimize 128-bit some integer
multiply-add combinations to use the power9 maddld, maddhd, maddhdu
instructions.  In order to support recognizing the multiply and add
combination, we need to keep the addti3 and subti3 as complete insns
through the combiner phase.

2022-03-18   Michael Meissner  <meissner@linux.ibm.com>

gcc/
* config/rs6000/rs6000.md (addti3): Don't immediate expand the
insn, delay expansion until the split passes.
(subti3): Likewise.
gcc/config/rs6000/rs6000.md
This page took 0.062207 seconds and 6 git commands to generate.