Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gcc/gcc Fix for gcc target/13250 to correctly compi...



details:   https://anonhg.NetBSD.org/src/rev/21318d0fe587
branches:  trunk
changeset: 567042:21318d0fe587
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat May 29 00:49:15 2004 +0000

description:
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/ChangeLog       |  5 +++++
 gnu/dist/gcc/gcc/config/sh/sh.md |  2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r f4ed90e1647f -r 21318d0fe587 gnu/dist/gcc/gcc/ChangeLog
--- a/gnu/dist/gcc/gcc/ChangeLog        Fri May 28 23:39:09 2004 +0000
+++ b/gnu/dist/gcc/gcc/ChangeLog        Sat May 29 00:49:15 2004 +0000
@@ -1,3 +1,8 @@
+2004-05-28  Kaz Kojima  <kkojima%gcc.gnu.org@localhost>
+
+       PR target/13250
+       * config/sh/sh.md (rotlsi3): Use emit_move_insn.
+
 2003-07-10  Kazu Hirata         <kazu%cs.umass.edu@localhost>
 
        PR c/11449
diff -r f4ed90e1647f -r 21318d0fe587 gnu/dist/gcc/gcc/config/sh/sh.md
--- a/gnu/dist/gcc/gcc/config/sh/sh.md  Fri May 28 23:39:09 2004 +0000
+++ b/gnu/dist/gcc/gcc/config/sh/sh.md  Sat May 29 00:49:15 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