From 9eb578c8e372019f17e44a8b9e89dd9d881008c8 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 7 Jul 2008 00:34:16 +0000 Subject: [PATCH] re PR target/36720 (ia64_split_tmode_move doesn't work on little endian) 2008-07-06 H.J. Lu PR target/36720 * config/ia64/ia64.c (ia64_split_tmode): Fix typo in TImode constant for little endian. From-SVN: r137547 --- gcc/ChangeLog | 6 ++++++ gcc/config/ia64/ia64.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ecbb96b1cc..ab0803988b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-07-06 H.J. Lu + + PR target/36720 + * config/ia64/ia64.c (ia64_split_tmode): Fix typo in TImode + constant for little endian. + 2008-07-06 Richard Sandiford * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Check diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index de39ab12946..e93ae31b0bd 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -1119,8 +1119,8 @@ ia64_split_tmode (rtx out[2], rtx in, bool reversed, bool dead) } else { - p[0] = (((unsigned HOST_WIDE_INT) l[3]) << 32) + l[2]; - p[1] = (((unsigned HOST_WIDE_INT) l[1]) << 32) + l[0]; + p[0] = (((unsigned HOST_WIDE_INT) l[1]) << 32) + l[0]; + p[1] = (((unsigned HOST_WIDE_INT) l[3]) << 32) + l[2]; } out[0] = GEN_INT (p[0]); out[1] = GEN_INT (p[1]); -- 2.30.2