Skip to content

Commit 19c6cb9

Browse files
author
Jim Grosbach
committed
Add missing Rd encoding for MOVs instruction.
llvm-svn: 116537
1 parent 947c9af commit 19c6cb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/ARM/ARMInstrInfo.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,9 @@ def MOVr_TC : AsI1<0b1101, (outs tcGPR:$Rd), (ins tcGPR:$Rm), DPFrm,
16341634
def MOVs : AsI1<0b1101, (outs GPR:$Rd), (ins so_reg:$src),
16351635
DPSoRegFrm, IIC_iMOVsr,
16361636
"mov", "\t$Rd, $src", [(set GPR:$Rd, so_reg:$src)]>, UnaryDP {
1637+
bits<4> Rd;
16371638
bits<12> src;
1639+
let Inst{15-12} = Rd;
16381640
let Inst{11-0} = src;
16391641
let Inst{25} = 0;
16401642
}

0 commit comments

Comments
 (0)