mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
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:
parent
22d35086fe
commit
c6788c83b4
@ -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", []>,
|
||||
|
@ -283,3 +283,6 @@
|
||||
|
||||
# CHECK: usat16 r4, #10, r1
|
||||
0xa1 0xf3 0x2a 0x4
|
||||
|
||||
# CHECK: smlad r5, r12, r8, r11
|
||||
0x2c 0xfb 0x8 0xb5
|
||||
|
Loading…
x
Reference in New Issue
Block a user