(flush): Change to using a MEM instead of address.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 8 Jan 1995 01:46:36 +0000 (20:46 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 8 Jan 1995 01:46:36 +0000 (20:46 -0500)
From-SVN: r8728

gcc/config/sparc/sparc.md

index ebdc06f894d1a67d9e0a8f146f242dea4650bc6d..66f448868cd5ef7fa2112b7454ec21db09ccbe7a 100644 (file)
@@ -1,8 +1,8 @@
 ;;- Machine description for SPARC chip for GNU C compiler
-;;   Copyright (C) 1987, 88, 89, 92, 93, 1994 Free Software Foundation, Inc.
-;;   Contributed by Michael Tiemann (tiemann@cygnus.com)
-;;   64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
-;;   at Cygnus Support.
+;;  Copyright (C) 1987, 88, 89, 92, 93, 94, 1995 Free Software Foundation, Inc.
+;;  Contributed by Michael Tiemann (tiemann@cygnus.com)
+;;  64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
+;;  at Cygnus Support.
 
 ;; This file is part of GNU CC.
 
 ;; Special pattern for the FLUSH instruction.
 
 (define_insn "flush"
-  [(unspec_volatile [(match_operand 0 "" "")] 3)]
+  [(unspec_volatile [(match_operand 0 "memory_operand" "m")] 3)]
   ""
-  "* return TARGET_V9 ? \"flush %a0\" : \"iflush %a0\";"
+  "* return TARGET_V9 ? \"flush %f0\" : \"iflush %f0\";"
   [(set_attr "type" "misc")])
 \f
 ;; find first set.