OSDN Git Service

(sync_isync): Renamed from sync; added an isync insn after the sync to
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Aug 1995 21:20:06 +0000 (21:20 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Aug 1995 21:20:06 +0000 (21:20 +0000)
properly deal with PowerPC's with split I/D caches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10253 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/rs6000/rs6000.md

index cda871b..f8e52db 100644 (file)
   ""
   "")
 
-;; 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")])
 
 \f
 ;; Compare insns are next.  Note that the RS/6000 has two types of compares,