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

meissner@gcc.gnu.org meissner@gcc.gnu.org
Tue Dec 10 21:52:00 GMT 2019


Author: meissner
Date: Tue Dec 10 21:52:27 2019
New Revision: 279202

URL: https://gcc.gnu.org/viewcvs?rev=279202&root=gcc&view=rev
Log:
Fold PC-relative vector extract with constant element number into the address.

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

	* config/rs6000/rs6000.c (rs6000_reg_to_addr_mask): New helper
	function.
	(rs6000_adjust_vec_address): Add support for folding a constant
	offset of a vector extract of a vector accessed with PC-relative
	addressing into the offset of the load.


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



More information about the Gcc-cvs mailing list