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> PR target/13250 * config/sh/sh.md (rotlsi3): Use emit_move_insn.
This commit is contained in:
parent
9da2eaca32
commit
1161112f12
5
gnu/dist/gcc/gcc/ChangeLog
vendored
5
gnu/dist/gcc/gcc/ChangeLog
vendored
@ -1,3 +1,8 @@
|
||||
2004-05-28 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
PR target/13250
|
||||
* config/sh/sh.md (rotlsi3): Use emit_move_insn.
|
||||
|
||||
2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
PR c/11449
|
||||
|
2
gnu/dist/gcc/gcc/config/sh/sh.md
vendored
2
gnu/dist/gcc/gcc/config/sh/sh.md
vendored
@ -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]));
|
||||
|
Loading…
Reference in New Issue
Block a user