darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
2002-02-13 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors. * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX. From-SVN: r49758
This commit is contained in:
parent
78c875e81a
commit
b851369147
@ -1,3 +1,9 @@
|
||||
2002-02-14 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
* config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
|
||||
|
||||
* config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
|
||||
|
||||
2002-02-14 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
* config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
|
||||
|
@ -218,6 +218,8 @@ Boston, MA 02111-1307, USA. */
|
||||
&& TYPE_FIELDS (STRUCT) != 0 \
|
||||
&& DECL_MODE (TYPE_FIELDS (STRUCT)) == DFmode \
|
||||
? MAX (MAX ((COMPUTED), (SPECIFIED)), 64) \
|
||||
: (TARGET_ALTIVEC && TREE_CODE (STRUCT) == VECTOR_TYPE) \
|
||||
? MAX (MAX ((COMPUTED), (SPECIFIED)), 128) \
|
||||
: MAX ((COMPUTED), (SPECIFIED)))
|
||||
/* XXX: Darwin supports neither .quad, or .llong, but it also doesn't
|
||||
support 64 bit powerpc either, so this just keeps things happy. */
|
||||
|
@ -397,7 +397,8 @@ do { \
|
||||
SPECIFIED. */
|
||||
#define ROUND_TYPE_ALIGN(TYPE, COMPUTED, SPECIFIED) \
|
||||
((TARGET_ALTIVEC && TREE_CODE (TYPE) == VECTOR_TYPE) \
|
||||
? 128 : MAX (COMPUTED, SPECIFIED))
|
||||
? MAX (MAX ((COMPUTED), (SPECIFIED)), 128) \
|
||||
: MAX (COMPUTED, SPECIFIED))
|
||||
|
||||
#undef BIGGEST_FIELD_ALIGNMENT
|
||||
#undef ADJUST_FIELD_ALIGN
|
||||
|
Loading…
Reference in New Issue
Block a user