From: Richard Kenner Date: Sat, 19 Aug 1995 21:20:06 +0000 (-0400) Subject: (sync_isync): Renamed from sync... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e89f9d8a2f40707dea86d73dbfc22a76173a3d74;p=gcc.git (sync_isync): Renamed from sync... (sync_isync): Renamed from sync; added an isync insn after the sync to properly deal with PowerPC's with split I/D caches. From-SVN: r10253 --- diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index cda871bd16e..f8e52db8f07 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -5553,11 +5553,12 @@ "" "") -;; Sync instruction used for V.4 trampolines -(define_insn "sync" - [(unspec [(match_operand 0 "" "")] 1)] +;; Synchronize instruction/data caches for V.4 trampolines +(define_insn "sync_isync" + [(unspec [(match_operand 0 "memory_operand" "=m")] 1)] "" - "sync") + "{dcs|sync}\;{ics|isync}" + [(set_attr "length" "8")]) ;; Compare insns are next. Note that the RS/6000 has two types of compares,