blob: dc9b61cf2aeba64d45d87eca75919dfb57064913 [file] [log] [blame]
Andrew Geissler84ad7c52020-06-27 00:00:16 -05001From 614bacc058b94c7b12cd40fde1b19b4709870f3b Mon Sep 17 00:00:00 2001
Brad Bishop26bdd442019-08-16 17:08:17 -04002From: Mahesh Bodapati <mbodapat@xilinx.com>
3Date: Tue, 17 Jan 2017 15:42:15 +0530
Andrew Geissler84ad7c52020-06-27 00:00:16 -05004Subject: [PATCH 19/63] [Patch, microblaze]: Modified trap instruction The
Brad Bishop26bdd442019-08-16 17:08:17 -04005 instruction was wrongly written to brki r0,-1 it should be bri r0. Modified
6 with the correct instruction
7
8Signed-off-by :Nagaraju Mekala <nmekala@xilix.com>
9 :Ajit Agarwal <ajitkum@xilinx.com>
10---
11 gcc/config/microblaze/microblaze.md | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md
Andrew Geissler84ad7c52020-06-27 00:00:16 -050015index aa2eda3..3c80760 100644
Brad Bishop26bdd442019-08-16 17:08:17 -040016--- a/gcc/config/microblaze/microblaze.md
17+++ b/gcc/config/microblaze/microblaze.md
Andrew Geissler84ad7c52020-06-27 00:00:16 -050018@@ -2348,7 +2348,7 @@
Brad Bishop26bdd442019-08-16 17:08:17 -040019 (define_insn "trap"
20 [(trap_if (const_int 1) (const_int 0))]
21 ""
22- "brki\tr0,-1"
23+ "bri\t0"
24 [(set_attr "type" "trap")]
25 )
26
27--
282.7.4
29