tree-vect-transform.c (vect_create_epilog_for_reduction): Use BYTES_BIG_ENDIAN instead of BITS_BIG_ENDIAN.

* tree-vect-transform.c (vect_create_epilog_for_reduction):
	Use BYTES_BIG_ENDIAN instead of BITS_BIG_ENDIAN.

From-SVN: r104954
This commit is contained in:
Steve Ellcey 2005-10-04 18:34:47 +00:00 committed by Steve Ellcey
parent 8006eaa656
commit 578578a5ab
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-10-04 Steve Ellcey <sje@cup.hp.com>
* tree-vect-transform.c (vect_create_epilog_for_reduction):
Use BYTES_BIG_ENDIAN instead of BITS_BIG_ENDIAN.
2005-10-04 Adrian Straetling <straetling@de.ibm.com>
* config/s390/s390.md ("TDSI","DP"): New mode macros.

View File

@ -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));