Commit 5ec214fc by Fariborz Jahanian Committed by Fariborz Jahanian

Fix size of generic vectors with -maltivec.

OKed by Geoff Keating.

From-SVN: r86941
parent c3d0559d
2002-09-01 Fariborz Jahanian <fjahanian@apple.com>
* config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Restrict alignment
to Altivec vetors.
2004-09-01 Wu Yongwei <adah@sh163.net> 2004-09-01 Wu Yongwei <adah@sh163.net>
Danny Smith <dannysmith@users.sourceforge.net> Danny Smith <dannysmith@users.sourceforge.net>
......
...@@ -349,7 +349,8 @@ do { \ ...@@ -349,7 +349,8 @@ do { \
|| TREE_CODE (STRUCT) == QUAL_UNION_TYPE) \ || TREE_CODE (STRUCT) == QUAL_UNION_TYPE) \
&& TARGET_ALIGN_NATURAL == 0 \ && TARGET_ALIGN_NATURAL == 0 \
? rs6000_special_round_type_align (STRUCT, COMPUTED, SPECIFIED) \ ? rs6000_special_round_type_align (STRUCT, COMPUTED, SPECIFIED) \
: (TARGET_ALTIVEC && TREE_CODE (STRUCT) == VECTOR_TYPE) \ : (TREE_CODE (STRUCT) == VECTOR_TYPE \
&& ALTIVEC_VECTOR_MODE (TYPE_MODE (STRUCT))) \
? MAX (MAX ((COMPUTED), (SPECIFIED)), 128) \ ? MAX (MAX ((COMPUTED), (SPECIFIED)), 128) \
: MAX ((COMPUTED), (SPECIFIED))) : MAX ((COMPUTED), (SPECIFIED)))
......
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