aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-23 22:06:24 +0000
committerChris Lattner <sabre@nondot.org>2004-11-23 22:06:24 +0000
commit6f407893e2df521aef5240b1731afa95fdb4634c (patch)
tree21dc04f8fac79a667dd60b5def664f3a13e97426 /lib/Target/PowerPC
parent294ba022bc0f365953bd63b893ee84167a96c7d5 (diff)
downloadexternal_llvm-6f407893e2df521aef5240b1731afa95fdb4634c.zip
external_llvm-6f407893e2df521aef5240b1731afa95fdb4634c.tar.gz
external_llvm-6f407893e2df521aef5240b1731afa95fdb4634c.tar.bz2
Fix encoding of blr and bctr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td
index b550edf..00e742d 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/lib/Target/PowerPC/PPCInstrInfo.td
@@ -16,8 +16,8 @@ include "PowerPCInstrFormats.td"
let isTerminator = 1 in {
let isReturn = 1 in
- def BLR : XLForm_2_ext<19, 16, 20, 31, 1, 0, 0, (ops), "blr">;
- def BCTR : XLForm_2_ext<19, 528, 20, 31, 1, 0, 0, (ops), "bctr">;
+ def BLR : XLForm_2_ext<19, 16, 20, 0, 0, 0, 0, (ops), "blr">;
+ def BCTR : XLForm_2_ext<19, 528, 20, 0, 0, 0, 0, (ops), "bctr">;
}
def u5imm : Operand<i8> {