Commit 2165fd38 by Nathan Froyd Committed by Nathan Froyd

rs6000.h (CONSTANT_ALIGNMENT): Don't overalign strings when optimizing for size...

	* config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign
	strings when optimizing for size, unless the target cares about
	alignment.

From-SVN: r132566
parent e5572ab0
2008-02-22 Nathan Froyd <froydnj@codesourcery.com>
* config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign
strings when optimizing for size, unless the target cares about
alignment.
2008-02-22 Tom Tromey <tromey@redhat.com> 2008-02-22 Tom Tromey <tromey@redhat.com>
* regclass.c (current_pass): Remove declaration. * regclass.c (current_pass): Remove declaration.
......
...@@ -596,6 +596,7 @@ extern enum rs6000_nop_insertion rs6000_sched_insert_nops; ...@@ -596,6 +596,7 @@ extern enum rs6000_nop_insertion rs6000_sched_insert_nops;
Make vector constants quadword aligned. */ Make vector constants quadword aligned. */
#define CONSTANT_ALIGNMENT(EXP, ALIGN) \ #define CONSTANT_ALIGNMENT(EXP, ALIGN) \
(TREE_CODE (EXP) == STRING_CST \ (TREE_CODE (EXP) == STRING_CST \
&& (TARGET_STRICT_ALIGN || !optimize_size) \
&& (ALIGN) < BITS_PER_WORD \ && (ALIGN) < BITS_PER_WORD \
? BITS_PER_WORD \ ? BITS_PER_WORD \
: (ALIGN)) : (ALIGN))
......
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