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
This commit is contained in:
Steve Ellcey 2009-06-03 19:35:23 +00:00 committed by Steve Ellcey
parent b49e9f7a3d
commit 19d892fdb3
2 changed files with 6 additions and 2 deletions

View File

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

View File

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