From 7c0618c6aec168b2da247f86c6b9aea48622cb3a Mon Sep 17 00:00:00 2001 From: rth Date: Mon, 7 May 2012 15:55:11 +0000 Subject: [PATCH] * config/alpha/alpha.md (clear_cache): New pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187255 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/config/alpha/alpha.md | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33aae8a..084f063 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-05-07 Richard Henderson + + * config/alpha/alpha.md (clear_cache): New pattern. + 2012-05-07 Steven Bosscher PR middle-end/53245 diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index e89ed27..21c4d2e 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -4346,6 +4346,15 @@ "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))] -- 2.7.4