r278795 - in /branches/ibm/pcrel-trunk/gcc: Cha...
meissner@gcc.gnu.org
meissner@gcc.gnu.org
Thu Nov 28 00:40:00 GMT 2019
Author: meissner
Date: Thu Nov 28 00:40:35 2019
New Revision: 278795
URL: https://gcc.gnu.org/viewcvs?rev=278795&root=gcc&view=rev
Log:
Use PADDI (PLI) to load up 34-bit DImode constants.
2019-11-27 Michael Meissner <meissner@linux.ibm.com>
* config/rs6000/rs6000.c (num_insns_constant_gpr): Use
SIGNED_16BIT_OFFSET_P for range test. Know that PADDI (PLI) can
load up to 34-bit constants in a single instruction when
-mcpu=future is used.
(rs6000_rtx_costs): Treat PADDIs as a single instruction in terms
of cost.
* config/rs6000/rs6000.md (movdi_internal64): Add alternative to
use PADDI (PLI) to load up 34-bit constants when -mcpu=future is
used.
Modified:
branches/ibm/pcrel-trunk/gcc/ChangeLog.meissner
branches/ibm/pcrel-trunk/gcc/config/rs6000/rs6000.c
branches/ibm/pcrel-trunk/gcc/config/rs6000/rs6000.md
More information about the Gcc-cvs
mailing list