* config/sparc/sparc.c (mem_min_alignment): Check MEM_ALIGN.
From-SVN: r91021
This commit is contained in:
parent
4e596a097d
commit
167a1354b3
@ -1,3 +1,7 @@
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user