Commit 0f95e914 by Eric Botcazou Committed by Eric Botcazou

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
parent 53e0077e
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> 2005-05-10 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/lib1funcs.asm (__udivsi3, __divsi3): Rearrange special * config/xtensa/lib1funcs.asm (__udivsi3, __divsi3): Rearrange special
......
...@@ -3193,7 +3193,8 @@ mem_min_alignment (rtx mem, int desired) ...@@ -3193,7 +3193,8 @@ mem_min_alignment (rtx mem, int desired)
return 0; return 0;
/* Obviously... */ /* Obviously... */
if (MEM_ALIGN (mem) / BITS_PER_UNIT >= (unsigned)desired) if (!TARGET_UNALIGNED_DOUBLES
&& MEM_ALIGN (mem) / BITS_PER_UNIT >= (unsigned)desired)
return 1; return 1;
/* ??? The rest of the function predates MEM_ALIGN so /* ??? The rest of the function predates MEM_ALIGN so
......
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