Use PLI to load up large constants if -mcpu=future.
commita50e038893fe801178f71f09bda01910df50394e
authorMichael Meissner <meissner@linux.ibm.com>
Tue, 17 Dec 2019 22:11:55 +0000 (17 22:11 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 17 Dec 2019 22:11:55 +0000 (17 22:11 +0000)
tree0a42defa3f1b4592e11aca12a83382b94fcf54a9
parent4f05d85a22351720d860afb788cc5cdaffca92ca
Use PLI to load up large constants if -mcpu=future.

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

* config/rs6000/rs6000.c (num_insns_constant_gpr): Return 1 if the
constant can be loaded with PLI if -mcpu=future.
* config/rs6000/rs6000.md (movdi_internal64): Add alternative to
use PLI to load up 34-bit constants if -mcpu=future.

From-SVN: r279474
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md