Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/gnu/dist/gcc/gcc/config/sh Pull up revision 1.2 (reques...
details: https://anonhg.NetBSD.org/src/rev/6714ac2bb2ed
branches: netbsd-2-0
changeset: 561221:6714ac2bb2ed
user: tron <tron%NetBSD.org@localhost>
date: Sun May 30 11:40:02 2004 +0000
description:
Pull up revision 1.2 (requested by uwe in ticket #419):
Fix for gcc target/13250 to correctly compile rotations, e.g. in
sha256 code in pkgtools/digest.
Ok by Matthew Green <mrg>.
2004-05-28 Kaz Kojima <kkojima%gcc.gnu.org@localhost>
PR target/13250
* config/sh/sh.md (rotlsi3): Use emit_move_insn.
diffstat:
gnu/dist/gcc/gcc/config/sh/sh.md | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 91e00e6bddf5 -r 6714ac2bb2ed gnu/dist/gcc/gcc/config/sh/sh.md
--- a/gnu/dist/gcc/gcc/config/sh/sh.md Sun May 30 11:38:15 2004 +0000
+++ b/gnu/dist/gcc/gcc/config/sh/sh.md Sun May 30 11:40:02 2004 +0000
@@ -2174,7 +2174,7 @@
parts[0] = gen_reg_rtx (SImode);
parts[1] = gen_reg_rtx (SImode);
emit_insn (gen_rotlsi3_16 (parts[2-choice], operands[1]));
- parts[choice-1] = operands[1];
+ emit_move_insn (parts[choice-1], operands[1]);
emit_insn (gen_ashlsi3 (parts[0], parts[0], GEN_INT (8)));
emit_insn (gen_lshrsi3 (parts[1], parts[1], GEN_INT (8)));
emit_insn (gen_iorsi3 (operands[0], parts[0], parts[1]));
Home |
Main Index |
Thread Index |
Old Index