mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-20 18:56:04 +00:00
Fix encoding for ARM BXJ instruction.
llvm-svn: 135077
This commit is contained in:
parent
4ca79b8d2c
commit
93cf7d8372
@ -1539,12 +1539,14 @@ def BLXi : AXI<(outs), (ins br_target:$target), BrMiscFrm, NoItinerary,
|
||||
let Inst{24} = target{0};
|
||||
}
|
||||
|
||||
// Branch and Exchange Jazelle -- for disassembly only
|
||||
// Branch and Exchange Jazelle
|
||||
def BXJ : ABI<0b0001, (outs), (ins GPR:$func), NoItinerary, "bxj", "\t$func",
|
||||
[/* For disassembly only; pattern left blank */]> {
|
||||
[/* pattern left blank */]> {
|
||||
bits<4> func;
|
||||
let Inst{23-20} = 0b0010;
|
||||
//let Inst{19-8} = 0xfff;
|
||||
let Inst{19-8} = 0xfff;
|
||||
let Inst{7-4} = 0b0010;
|
||||
let Inst{3-0} = func;
|
||||
}
|
||||
|
||||
// Tail calls.
|
||||
|
Loading…
x
Reference in New Issue
Block a user