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
This commit is contained in:
parent
e5572ab073
commit
2165fd3855
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
* regclass.c (current_pass): Remove declaration.
|
||||
|
@ -596,6 +596,7 @@ extern enum rs6000_nop_insertion rs6000_sched_insert_nops;
|
||||
Make vector constants quadword aligned. */
|
||||
#define CONSTANT_ALIGNMENT(EXP, ALIGN) \
|
||||
(TREE_CODE (EXP) == STRING_CST \
|
||||
&& (TARGET_STRICT_ALIGN || !optimize_size) \
|
||||
&& (ALIGN) < BITS_PER_WORD \
|
||||
? BITS_PER_WORD \
|
||||
: (ALIGN))
|
||||
|
Loading…
Reference in New Issue
Block a user