This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
trivial fix to x86_64 trampoilnes commited
- To: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- Subject: trivial fix to x86_64 trampoilnes commited
- From: Jan Hubicka <jh at suse dot cz>
- Date: Fri, 4 May 2001 13:07:30 +0200
Fri May 4 13:06:06 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386.c (x86_initialize_trampoline): Fix mode of constant.
Index: i386.c
===================================================================
RCS file: /home/cvs/Repository/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.66
diff -c -3 -p -r1.66 i386.c
*** i386.c 2001/05/03 15:57:53 1.66
--- i386.c 2001/05/04 10:03:09
*************** x86_initialize_trampoline (tramp, fnaddr
*** 10180,10186 ****
emit_move_insn (gen_rtx_MEM (HImode, plus_constant (tramp, offset)),
GEN_INT (trunc_int_for_mode (0xff49, HImode)));
emit_move_insn (gen_rtx_MEM (QImode, plus_constant (tramp, offset+2)),
! GEN_INT (trunc_int_for_mode (0xe3, HImode)));
offset += 3;
if (offset > TRAMPOLINE_SIZE)
abort();
--- 10180,10186 ----
emit_move_insn (gen_rtx_MEM (HImode, plus_constant (tramp, offset)),
GEN_INT (trunc_int_for_mode (0xff49, HImode)));
emit_move_insn (gen_rtx_MEM (QImode, plus_constant (tramp, offset+2)),
! GEN_INT (trunc_int_for_mode (0xe3, QImode)));
offset += 3;
if (offset > TRAMPOLINE_SIZE)
abort();