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

meissner@gcc.gnu.org meissner@gcc.gnu.org
Tue Jan 7 22:52:00 GMT 2020


Author: meissner
Date: Tue Jan  7 22:52:39 2020
New Revision: 279976

URL: https://gcc.gnu.org/viewcvs?rev=279976&root=gcc&view=rev
Log:
Refactor calculating vector element offset.

2020-01-07  Michael Meissner  <meissner@linux.ibm.com>

	* config/rs6000/rs6000.c (get_vector_offset): New helper function
	to calculate the byte offset within a vector of an element.
	(rs6000_adjust_vec_address): Use get_vector_offset to calculate
	the offset of the element


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