sparc.c (mem_min_alignment): Do not rely on MEM_ALIGN if TARGET_UNALIGNED_DOUBLES.

* config/sparc/sparc.c (mem_min_alignment): Do not rely
	on MEM_ALIGN if TARGET_UNALIGNED_DOUBLES.

From-SVN: r99521
This commit is contained in:
Eric Botcazou 2005-05-10 17:59:16 +02:00 committed by Eric Botcazou
parent 53e0077e6f
commit 0f95e9143a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-05-10 Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/sparc.c (mem_min_alignment): Do not rely
on MEM_ALIGN if TARGET_UNALIGNED_DOUBLES.
2005-05-10 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/lib1funcs.asm (__udivsi3, __divsi3): Rearrange special

View File

@ -3193,7 +3193,8 @@ mem_min_alignment (rtx mem, int desired)
return 0;
/* Obviously... */
if (MEM_ALIGN (mem) / BITS_PER_UNIT >= (unsigned)desired)
if (!TARGET_UNALIGNED_DOUBLES
&& MEM_ALIGN (mem) / BITS_PER_UNIT >= (unsigned)desired)
return 1;
/* ??? The rest of the function predates MEM_ALIGN so