r278319 - in /branches/ibm/pcrel-trunk/gcc: Cha...

meissner@gcc.gnu.org meissner@gcc.gnu.org
Fri Nov 15 21:54:00 GMT 2019


Author: meissner
Date: Fri Nov 15 21:54:27 2019
New Revision: 278319

URL: https://gcc.gnu.org/viewcvs?rev=278319&root=gcc&view=rev
Log:
Add support for PCREL_OPT sign, zero, or float extension.

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

	* config/rs6000/pcrel-opt.c (pcrel_opt::do_pcrel_opt_load): Add
	support to do the PCREL_OPT optimization with sign, zero, and
	float extension.
	* config/rs6000/rs6000.md (pcrel_opt_ldsi_sext<mode>): New insns
	for applying the PCREL_OPT optimization to SImode sign extension.
	(pcrel_opt_ldhi_sext<mode>): New insns for applying the PCREL_OPT
	optimization to HImode sign extension.
	(pcrel_opt_ldsi_zext<mode>): New insns for applying the PCREL_OPT
	optimization to SImode zero extension.
	(pcrel_opt_ldhi_zext<mode>): New insns for applying the PCREL_OPT
	optimization to HImode zero extension.
	(pcrel_opt_ldqi_zext<mode>): New insns for applying the PCREL_OPT
	optimization to QImode zero extension.
	(pcrel_opt_ldsf_extend): New insns for applying the PCREL_OPT
	optimization to SFmode float extension.


Modified:
    branches/ibm/pcrel-trunk/gcc/ChangeLog.meissner
    branches/ibm/pcrel-trunk/gcc/config/rs6000/pcrel-opt.c
    branches/ibm/pcrel-trunk/gcc/config/rs6000/rs6000.md



More information about the Gcc-cvs mailing list