Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | From e8b05b5105655d276c93864ab90e15bfbe46cf74 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mahesh Bodapati <mbodapat@xilinx.com> |
| 3 | Date: Tue, 17 Jan 2017 15:42:15 +0530 |
| 4 | Subject: [PATCH 19/54] [Patch, microblaze]: Modified trap instruction The |
| 5 | instruction was wrongly written to brki r0,-1 it should be bri r0. Modified |
| 6 | with the correct instruction |
| 7 | |
| 8 | Signed-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 | |
| 14 | diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md |
| 15 | index c063ffc..7bbdbe1 100644 |
| 16 | --- a/gcc/config/microblaze/microblaze.md |
| 17 | +++ b/gcc/config/microblaze/microblaze.md |
| 18 | @@ -2344,7 +2344,7 @@ |
| 19 | (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 | -- |
| 28 | 2.7.4 |
| 29 | |