From 7e5d3db4993c94ac113f3a3799d99a579271e8d0 Mon Sep 17 00:00:00 2001 From: pinskia Date: Fri, 6 Dec 2013 21:08:33 +0000 Subject: [PATCH] 2013-12-06 Andrew Pinski PR target/59092 * config/aarch64/aarch64.md (trap): New pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205763 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64.md | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cf50c90c485..039f7049d22 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-12-06 Andrew Pinski + + PR target/59092 + * config/aarch64/aarch64.md (trap): New pattern. + 2013-12-06 Jakub Jelinek PR tree-optimization/59388 diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index 8b3dbd7550e..c83622d6cad 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -290,6 +290,12 @@ [(set_attr "type" "no_insn")] ) +(define_insn "trap" + [(trap_if (const_int 1) (const_int 8))] + "" + "brk #1000" + [(set_attr "type" "trap")]) + (define_expand "prologue" [(clobber (const_int 0))] "" -- 2.11.4.GIT