forked from OSchip/llvm-project
ARM fix for LDREX source register encoding.
rdar://9842203 llvm-svn: 136102
This commit is contained in:
parent
3ca3f98c2c
commit
cb31193670
|
@ -418,11 +418,11 @@ class AIldrex<bits<2> opcod, dag oops, dag iops, InstrItinClass itin,
|
|||
: I<oops, iops, AddrModeNone, 4, IndexModeNone, LdStExFrm, itin,
|
||||
opc, asm, "", pattern> {
|
||||
bits<4> Rt;
|
||||
bits<4> Rn;
|
||||
bits<4> addr;
|
||||
let Inst{27-23} = 0b00011;
|
||||
let Inst{22-21} = opcod;
|
||||
let Inst{20} = 1;
|
||||
let Inst{19-16} = Rn;
|
||||
let Inst{19-16} = addr;
|
||||
let Inst{15-12} = Rt;
|
||||
let Inst{11-0} = 0b111110011111;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue