t2SMLAD is a four-register instruction, not a three-register one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2011-08-22 23:31:45 +00:00
parent 22d35086fe
commit c6788c83b4
2 changed files with 4 additions and 1 deletions

View File

@ -2457,7 +2457,7 @@ def t2SMUSDX:T2ThreeReg_mac<
Requires<[IsThumb2, HasThumb2DSP]> {
let Inst{15-12} = 0b1111;
}
def t2SMLAD : T2ThreeReg_mac<
def t2SMLAD : T2FourReg_mac<
0, 0b010, 0b0000, (outs rGPR:$Rd),
(ins rGPR:$Rn, rGPR:$Rm, rGPR:$Ra), IIC_iMAC32, "smlad",
"\t$Rd, $Rn, $Rm, $Ra", []>,

View File

@ -283,3 +283,6 @@
# CHECK: usat16 r4, #10, r1
0xa1 0xf3 0x2a 0x4
# CHECK: smlad r5, r12, r8, r11
0x2c 0xfb 0x8 0xb5