(cacheflush): Flush the cache entries associated with

both the starting and ending addresses of the trampoline.

From-SVN: r4485
This commit is contained in:
Richard Stallman 1993-05-17 17:47:07 +00:00
parent afcc28b2f1
commit 823c6f606d

View File

@ -3060,7 +3060,8 @@
;; is sufficient.
(define_insn "cacheflush"
[(unspec_volatile [(const_int 1)] 0)
(use (mem:SI (match_operand:SI 0 "register_operand" "r")))]
(use (mem:SI (match_operand:SI 0 "register_operand" "r")))
(use (mem:SI (match_operand:SI 1 "register_operand" "r")))]
""
"fdc 0(0,%0)\;sync\;fic 0(0,%0)\;sync\;nop\;nop\;nop\;nop\;nop\;nop\;nop"
[(set_attr "length" "11")])
"fdc 0(0,%0)\;sync\;fic 0(0,%0)\;sync\;fdc 0(0,%1)\;sync\;fic 0(0,%1)\;sync\;nop\;nop\;nop\;nop\;nop\;nop\;nop"
[(set_attr "length" "15")])