(sync_isync): Renamed from sync...
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 19 Aug 1995 21:20:06 +0000 (17:20 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 19 Aug 1995 21:20:06 +0000 (17:20 -0400)
(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

gcc/config/rs6000/rs6000.md

index cda871bd16ec706298f2ae222d33d18c2a39f7e8..f8e52db8f0756281209e90c16801484e49764e13 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,