blob: 00e79b93fecb593187ce65ccf5a21c87364c07c3 [file] [log] [blame]
From 1b9bd76840fc1e67770a23c58bf18a24a25eb2b9 Mon Sep 17 00:00:00 2001
From: Mahesh Bodapati <mbodapat@xilinx.com>
Date: Sat, 26 Aug 2017 19:21:36 -0700
Subject: [PATCH] Modified MicroBlaze trap instruction
Modified trap instruction The instruction was wrongly written to brki
r0,-1 it should be bri r0. Modified with the correct instruction
Signed-off-by: Nagaraju Mekala <nagaraju.mekala@xilinx.com>
Signed-off-by: Ajit Agarwal <ajitkum@xilinx.com>
Signed-off-by: Mahesh Bodapati <mbodapat@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Upstream-Status: Pending
---
gcc/config/microblaze/microblaze.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md
index abbe97c15f..a3954a24b6 100644
--- a/gcc/config/microblaze/microblaze.md
+++ b/gcc/config/microblaze/microblaze.md
@@ -2343,7 +2343,7 @@
(define_insn "trap"
[(trap_if (const_int 1) (const_int 0))]
""
- "brki\tr0,-1"
+ "bri\t0"
[(set_attr "type" "trap")]
)
--
2.14.2