Commit 4fbf3498 by Kaz Kojima

re PR target/13250 ([3.4 only] [SH] Gcc code for rotation clobbers the register,…

re PR target/13250 ([3.4 only] [SH] Gcc code for rotation clobbers the register, but gcc continues to use the register as if it was not clobbered)

	PR target/13250
	* config/sh/sh.md (rotlsi3): Use emit_move_insn.

From-SVN: r82356
parent e8a382b7
2004-05-28 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/13250
* config/sh/sh.md (rotlsi3): Use emit_move_insn.
2004-05-27 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/t-linux (SHLIB_MAPFILES): Use sh specific
......
......@@ -2194,7 +2194,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]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment