(INITIALIZE_TRAMPOLINE): Add code to do an rei to clear the insn cache.
From-SVN: r4908
This commit is contained in:
parent
3ac7348b66
commit
c5a3d53f11
@ -541,6 +541,8 @@ gen_rtx (PLUS, Pmode, frame, gen_rtx (CONST_INT, VOIDmode, 12))
|
||||
to the start of the trampoline. */
|
||||
#define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) \
|
||||
{ \
|
||||
emit_insn (gen_rtx (ASM_INPUT, VOIDmode, \
|
||||
"movpsl -(sp)\n\tpushal 1(pc)\n\trei")); \
|
||||
emit_move_insn (gen_rtx (MEM, HImode, TRAMP), \
|
||||
gen_rtx (MEM, HImode, FNADDR)); \
|
||||
emit_move_insn (gen_rtx (MEM, SImode, plus_constant (TRAMP, 4)), CXT);\
|
||||
|
Loading…
Reference in New Issue
Block a user