From e89f9d8a2f40707dea86d73dbfc22a76173a3d74 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 19 Aug 1995 17:20:06 -0400 Subject: [PATCH] (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 --- gcc/config/rs6000/rs6000.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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, -- 2.30.2