aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWesley Peck <peckw@wesleypeck.com>2010-11-11 22:21:08 +0000
committerWesley Peck <peckw@wesleypeck.com>2010-11-11 22:21:08 +0000
commit48bcda4dd6542e183b82c6e035b7d263498deb02 (patch)
tree952887f2f24fd48a6775508e9f875e27456aca14
parent67b6464377a444a15a1a26fb8ca7cd54fc056de8 (diff)
The BRK instruction in the MicroBlaze is a branch-and-link.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118848 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/MBlaze/MBlazeInstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/MBlaze/MBlazeInstrInfo.td b/lib/Target/MBlaze/MBlazeInstrInfo.td
index 76e8efe428..98724f94ba 100644
--- a/lib/Target/MBlaze/MBlazeInstrInfo.td
+++ b/lib/Target/MBlaze/MBlazeInstrInfo.td
@@ -606,8 +606,8 @@ let rd=0x0, Form=FCRR in {
"wic $a, $b", [], IIAlu>;
}
-def BRK : Branch<0x26, 0x0C, 0x000, "brk ">;
-def BRKI : BranchI<0x2E, 0x0C, "brki ">;
+def BRK : BranchL<0x26, 0x0C, 0x000, "brk ">;
+def BRKI : BranchLI<0x2E, 0x0C, "brki ">;
def IMM : MBlazeInst<0x2C, FCCI, (outs), (ins simm16:$imm),
"imm $imm", [], IIAlu>;