Generate PADDI to add large constants if -mcpu=future.
authorMichael Meissner <meissner@linux.ibm.com>
Tue, 17 Dec 2019 22:21:35 +0000 (22:21 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 17 Dec 2019 22:21:35 +0000 (22:21 +0000)
commit54ba911fd1670654d494f238d83e337a4aeb0cb4
tree60425b46e8b77a06d604a9a9c4a65fa1aa50b936
parentef759fd121558455cd45d15e3bcf5e66279d6251
Generate PADDI to add large constants if -mcpu=future.

2019-12-12  Michael Meissner  <meissner@linux.ibm.com>

* config/rs6000/predicates.md (add_operand): Allow eI constants.
* config/rs6000/rs6000.md (add<mode>3): Add alternative to
generate PADDI for 34-bit constants if -mcpu=future.

From-SVN: r279476
gcc/ChangeLog
gcc/config/rs6000/predicates.md
gcc/config/rs6000/rs6000.md