sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr instead of rotldi3_mextr.

* config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
        instead of rotldi3_mextr.

From-SVN: r61413
This commit is contained in:
Kaz Kojima 2003-01-17 00:26:53 +00:00
parent cda1f76561
commit f1e2239f79
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-01-16 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
instead of rotldi3_mextr.
2003-01-16 Vladimir Makarov <vmakarov@redhat.com>
* haifa-sched.c (move_insn): Restore moving all schedule group.

View File

@ -7472,14 +7472,14 @@ sh_initialize_trampoline (tramp, fnaddr, cxt)
emit_insn (gen_mshflo_w_x (gen_rtx_SUBREG (V4HImode, quad0, 0),
gen_rtx_SUBREG (V2HImode, fnaddr, 0),
movishori));
emit_insn (gen_rotldi3_mextr (quad0, quad0,
emit_insn (gen_rotrdi3_mextr (quad0, quad0,
GEN_INT (TARGET_LITTLE_ENDIAN ? 24 : 56)));
emit_insn (gen_ashldi3_media (quad0, quad0, GEN_INT (2)));
emit_move_insn (gen_rtx_MEM (DImode, tramp), quad0);
emit_insn (gen_mshflo_w_x (gen_rtx_SUBREG (V4HImode, cxtload, 0),
gen_rtx_SUBREG (V2HImode, cxt, 0),
movishori));
emit_insn (gen_rotldi3_mextr (cxtload, cxtload,
emit_insn (gen_rotrdi3_mextr (cxtload, cxtload,
GEN_INT (TARGET_LITTLE_ENDIAN ? 24 : 56)));
emit_insn (gen_ashldi3_media (cxtload, cxtload, GEN_INT (2)));
if (TARGET_LITTLE_ENDIAN)