Commit 167a1354 by Eric Botcazou Committed by Eric Botcazou

* config/sparc/sparc.c (mem_min_alignment): Check MEM_ALIGN.

From-SVN: r91021
parent 4e596a09
2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/sparc.c (mem_min_alignment): Check MEM_ALIGN.
2004-11-22 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/power4.md: Remove delay between dispatch and issue
......
......@@ -3983,6 +3983,12 @@ mem_min_alignment (rtx mem, int desired)
if (GET_CODE (mem) != MEM)
return 0;
/* Obviously... */
if (MEM_ALIGN (mem) / BITS_PER_UNIT >= (unsigned)desired)
return 1;
/* ??? The rest of the function predates MEM_ALIGN so
there is probably a bit of redundancy. */
addr = XEXP (mem, 0);
base = offset = NULL_RTX;
if (GET_CODE (addr) == PLUS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment