Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame^] | 1 | From 1b9bd76840fc1e67770a23c58bf18a24a25eb2b9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mahesh Bodapati <mbodapat@xilinx.com> |
| 3 | Date: Sat, 26 Aug 2017 19:21:36 -0700 |
| 4 | Subject: [PATCH] Modified MicroBlaze trap instruction |
| 5 | |
| 6 | Modified trap instruction The instruction was wrongly written to brki |
| 7 | r0,-1 it should be bri r0. Modified with the correct instruction |
| 8 | |
| 9 | Signed-off-by: Nagaraju Mekala <nagaraju.mekala@xilinx.com> |
| 10 | Signed-off-by: Ajit Agarwal <ajitkum@xilinx.com> |
| 11 | Signed-off-by: Mahesh Bodapati <mbodapat@xilinx.com> |
| 12 | Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> |
| 13 | Upstream-Status: Pending |
| 14 | --- |
| 15 | gcc/config/microblaze/microblaze.md | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md |
| 19 | index abbe97c15f..a3954a24b6 100644 |
| 20 | --- a/gcc/config/microblaze/microblaze.md |
| 21 | +++ b/gcc/config/microblaze/microblaze.md |
| 22 | @@ -2343,7 +2343,7 @@ |
| 23 | (define_insn "trap" |
| 24 | [(trap_if (const_int 1) (const_int 0))] |
| 25 | "" |
| 26 | - "brki\tr0,-1" |
| 27 | + "bri\t0" |
| 28 | [(set_attr "type" "trap")] |
| 29 | ) |
| 30 | |
| 31 | -- |
| 32 | 2.14.2 |
| 33 | |