diff options
author | Steve Ellcey <sje@cup.hp.com> | 2009-06-03 19:35:23 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2009-06-03 19:35:23 +0000 |
commit | 19d892fdb3f445cc2b2cf01c6cdceca5b66930c9 (patch) | |
tree | 1e3d7e8e5c5d623f003755c6301de89e3243259a | |
parent | b49e9f7a3d121b21311cda4973ae80287118ef07 (diff) | |
download | gcc-19d892fdb3f445cc2b2cf01c6cdceca5b66930c9.zip gcc-19d892fdb3f445cc2b2cf01c6cdceca5b66930c9.tar.gz gcc-19d892fdb3f445cc2b2cf01c6cdceca5b66930c9.tar.bz2 |
vect.md (*movv2sf_internal): Handle big endian case.
2009-06-03 Steve Ellcey <sje@cup.hp.com>
* config/ia64/vect.md (*movv2sf_internal): Handle big endian case.
From-SVN: r148142
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/ia64/vect.md | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e28fd41..9dc89ff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-06-03 Steve Ellcey <sje@cup.hp.com> + + * config/ia64/vect.md (*movv2sf_internal): Handle big endian case. + 2009-06-03 Jakub Jelinek <jakub@redhat.com> * config/rs6000/rs6000.c (rs6000_emit_stack_reset): Return generated diff --git a/gcc/config/ia64/vect.md b/gcc/config/ia64/vect.md index 6b42c92..ae23c75 100644 --- a/gcc/config/ia64/vect.md +++ b/gcc/config/ia64/vect.md @@ -873,8 +873,8 @@ if (which_alternative == 1) { - operands[2] = XVECEXP (operands[1], 0, 1); - operands[1] = XVECEXP (operands[1], 0, 0); + operands[2] = XVECEXP (operands[1], 0, TARGET_BIG_ENDIAN ? 0 : 1); + operands[1] = XVECEXP (operands[1], 0, TARGET_BIG_ENDIAN ? 1 : 0); } return alt[which_alternative]; |