aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/config/rs6000/rs6000.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index cda871b..f8e52db 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,