From: Jim Wilson Date: Fri, 30 Sep 1994 00:04:04 +0000 (-0700) Subject: (sparc_initialize_trampoline): FLUSH is now 3 not 2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eda74c8b4f65de5297dd65d48cff50829ee4ccab;p=gcc.git (sparc_initialize_trampoline): FLUSH is now 3 not 2. From-SVN: r8171 --- diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index e80c280df1a..f83e13f1213 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -4043,7 +4043,7 @@ sparc_type_code (type) (to store insns). This is a bit excessive. Perhaps a different mechanism would be better here. - Emit 3 FLUSH instructions (UNSPEC_VOLATILE 2) to synchonize the data + Emit 3 FLUSH instructions (UNSPEC_VOLATILE 3) to synchonize the data and instruction caches. ??? v9: We assume the top 32 bits of function addresses are 0. */ @@ -4081,13 +4081,13 @@ sparc_initialize_trampoline (tramp, fnaddr, cxt) emit_move_insn (gen_rtx (MEM, SImode, plus_constant (tramp, 16)), low_cxt); emit_insn (gen_rtx (UNSPEC_VOLATILE, VOIDmode, gen_rtvec (1, plus_constant (tramp, 0)), - 2)); + 3)); emit_insn (gen_rtx (UNSPEC_VOLATILE, VOIDmode, gen_rtvec (1, plus_constant (tramp, 8)), - 2)); + 3)); emit_insn (gen_rtx (UNSPEC_VOLATILE, VOIDmode, gen_rtvec (1, plus_constant (tramp, 16)), - 2)); + 3)); } void @@ -4129,13 +4129,13 @@ sparc64_initialize_trampoline (tramp, fnaddr, cxt) emit_move_insn (gen_rtx (MEM, SImode, plus_constant (tramp, 16)), low_cxt); emit_insn (gen_rtx (UNSPEC_VOLATILE, VOIDmode, gen_rtvec (1, plus_constant (tramp, 0)), - 2)); + 3)); emit_insn (gen_rtx (UNSPEC_VOLATILE, VOIDmode, gen_rtvec (1, plus_constant (tramp, 8)), - 2)); + 3)); emit_insn (gen_rtx (UNSPEC_VOLATILE, VOIDmode, gen_rtvec (1, plus_constant (tramp, 16)), - 2)); + 3)); } /* Subroutines to support a flat (single) register window calling