From: sje Date: Tue, 4 Oct 2005 18:34:47 +0000 (+0000) Subject: * tree-vect-transform.c (vect_create_epilog_for_reduction): X-Git-Tag: upstream/4.9.2~58349 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d210a2584bf79945a605cdb80760b5e18b9049a;p=platform%2Fupstream%2Flinaro-gcc.git * tree-vect-transform.c (vect_create_epilog_for_reduction): Use BYTES_BIG_ENDIAN instead of BITS_BIG_ENDIAN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104954 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f627c97..a97d43c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-10-04 Steve Ellcey + + * tree-vect-transform.c (vect_create_epilog_for_reduction): + Use BYTES_BIG_ENDIAN instead of BITS_BIG_ENDIAN. + 2005-10-04 Adrian Straetling * config/s390/s390.md ("TDSI","DP"): New mode macros. diff --git a/gcc/tree-vect-transform.c b/gcc/tree-vect-transform.c index bc37bd2..8a09f1a 100644 --- a/gcc/tree-vect-transform.c +++ b/gcc/tree-vect-transform.c @@ -994,7 +994,7 @@ vect_create_epilog_for_reduction (tree vect_def, tree stmt, tree reduction_op, fprintf (vect_dump, "extract scalar result"); /* The result is in the low order bits. */ - if (BITS_BIG_ENDIAN) + if (BYTES_BIG_ENDIAN) bitpos = size_binop (MULT_EXPR, bitsize_int (TYPE_VECTOR_SUBPARTS (vectype) - 1), TYPE_SIZE (scalar_type));