This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r223579 - in /trunk/gcc: ChangeLog config/pa/pa.c
- From: law at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 22 May 2015 16:13:08 -0000
- Subject: r223579 - in /trunk/gcc: ChangeLog config/pa/pa.c
Author: law
Date: Fri May 22 16:13:07 2015
New Revision: 223579
URL: https://gcc.gnu.org/viewcvs?rev=223579&root=gcc&view=rev
Log:
* pa.c (mem_shadd_or_shadd_rtx_p): New function factored out
of hppa_legitimize_address to handle both forms of a multiply
by 2, 4 or 8.
(hppa_legitimize_address): Use mem_shadd_or_shadd_rtx_p.
Always generate the ASHIFT variant as the result is not directly
used in a MEM. Update comments and refactor slightly to improve
readability.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/pa/pa.c