]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/alpha/alpha.md (clear_cache): New pattern.
authorRichard Henderson <rth@redhat.com>
Mon, 7 May 2012 15:55:11 +0000 (08:55 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 7 May 2012 15:55:11 +0000 (08:55 -0700)
From-SVN: r187255

gcc/ChangeLog
gcc/config/alpha/alpha.md

index 33aae8a11d85c7b4595cff90dca28786b1aa4a41..084f063c9258744d838214d181d660a6b626e973 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-07  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.md (clear_cache): New pattern.
+
 2012-05-07  Steven Bosscher  <steven@gcc.gnu.org>
 
        PR middle-end/53245
index e89ed271942080b81dc4c59c1abf1e8eef487d16..21c4d2e05547d9aa28141e2b8fe24123534db1dd 100644 (file)
   "call_pal 0x86"
   [(set_attr "type" "callpal")])
 
+(define_expand "clear_cache"
+  [(match_operand:DI 0 "")             ; region start
+   (match_operand:DI 1 "")]            ; region end
+  ""
+{
+  emit_insn (gen_imb ());
+  DONE;
+})
+
 ;; BUGCHK is documented common to OSF/1 and VMS PALcode.
 (define_insn "trap"
   [(trap_if (const_int 1) (const_int 0))]