aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2007-07-27 20:07:19 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2007-07-27 20:07:19 +0000
commite3d693e9a31a27a23a3d90e1cb599ee0dc6bec23 (patch)
tree9d850c0a33106bf5d2968a8e933ae46c4330d310 /gcc/config/ia64
parentda7d4908cd1f7bce2157007422fc70b4e4772ea1 (diff)
downloadgcc-e3d693e9a31a27a23a3d90e1cb599ee0dc6bec23.zip
gcc-e3d693e9a31a27a23a3d90e1cb599ee0dc6bec23.tar.gz
gcc-e3d693e9a31a27a23a3d90e1cb599ee0dc6bec23.tar.bz2
* config/ia64/vect.md (vec_initv2si): Remove bad BIG_ENDIAN test.
From-SVN: r126995
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r--gcc/config/ia64/vect.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/config/ia64/vect.md b/gcc/config/ia64/vect.md
index 94380bf..8091b87 100644
--- a/gcc/config/ia64/vect.md
+++ b/gcc/config/ia64/vect.md
@@ -801,10 +801,7 @@
if (GET_CODE (op1) == CONST_INT && GET_CODE (op2) == CONST_INT)
{
- rtvec v = rtvec_alloc (2);
- RTVEC_ELT (v, 0) = TARGET_BIG_ENDIAN ? op2 : op1;
- RTVEC_ELT (v, 1) = TARGET_BIG_ENDIAN ? op1 : op2;;
- x = gen_rtx_CONST_VECTOR (V2SImode, v);
+ x = gen_rtx_CONST_VECTOR (V2SImode, XVEC (operands[1], 0));
emit_move_insn (operands[0], x);
DONE;
}