(INITIALIZE_TRAMPOLINE): Add code to do an rei to clear the insn cache.

From-SVN: r4908
This commit is contained in:
Richard Stallman 1993-07-12 20:45:25 +00:00
parent 3ac7348b66
commit c5a3d53f11
1 changed files with 2 additions and 0 deletions

View File

@ -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);\