mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
ARM vmul assembly parsing for the lane index operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142381 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ec11d2a1b8
commit
970f787a7e
@ -1936,8 +1936,8 @@ class N3VDSL<bits<2> op21_20, bits<4> op11_8,
|
||||
InstrItinClass itin, string OpcodeStr, string Dt,
|
||||
ValueType Ty, SDNode ShOp>
|
||||
: N3VLane32<0, 1, op21_20, op11_8, 1, 0,
|
||||
(outs DPR:$Vd), (ins DPR:$Vn, DPR_VFP2:$Vm, nohash_imm:$lane),
|
||||
NVMulSLFrm, itin, OpcodeStr, Dt, "$Vd, $Vn, $Vm[$lane]", "",
|
||||
(outs DPR:$Vd), (ins DPR:$Vn, DPR_VFP2:$Vm, VectorIndex32:$lane),
|
||||
NVMulSLFrm, itin, OpcodeStr, Dt, "$Vd, $Vn, $Vm$lane", "",
|
||||
[(set (Ty DPR:$Vd),
|
||||
(Ty (ShOp (Ty DPR:$Vn),
|
||||
(Ty (NEONvduplane (Ty DPR_VFP2:$Vm),imm:$lane)))))]> {
|
||||
@ -1946,8 +1946,8 @@ class N3VDSL<bits<2> op21_20, bits<4> op11_8,
|
||||
class N3VDSL16<bits<2> op21_20, bits<4> op11_8,
|
||||
string OpcodeStr, string Dt, ValueType Ty, SDNode ShOp>
|
||||
: N3VLane16<0, 1, op21_20, op11_8, 1, 0,
|
||||
(outs DPR:$Vd), (ins DPR:$Vn, DPR_8:$Vm, nohash_imm:$lane),
|
||||
NVMulSLFrm, IIC_VMULi16D, OpcodeStr, Dt,"$Vd, $Vn, $Vm[$lane]","",
|
||||
(outs DPR:$Vd), (ins DPR:$Vn, DPR_8:$Vm, VectorIndex16:$lane),
|
||||
NVMulSLFrm, IIC_VMULi16D, OpcodeStr, Dt,"$Vd, $Vn, $Vm$lane","",
|
||||
[(set (Ty DPR:$Vd),
|
||||
(Ty (ShOp (Ty DPR:$Vn),
|
||||
(Ty (NEONvduplane (Ty DPR_8:$Vm), imm:$lane)))))]> {
|
||||
|
@ -22,6 +22,10 @@
|
||||
vmul.p8 d16, d16, d17
|
||||
@ CHECK: vmul.p8 q8, q8, q9 @ encoding: [0x40,0xff,0xf2,0x09]
|
||||
vmul.p8 q8, q8, q9
|
||||
|
||||
vmul.i16 d18, d8, d0[3]
|
||||
@ CHECK: vmul.i16 d18, d8, d0[3] @ encoding: [0xd8,0xef,0x68,0x28]
|
||||
|
||||
@ CHECK: vqdmulh.s16 d16, d16, d17 @ encoding: [0x50,0xef,0xa1,0x0b]
|
||||
vqdmulh.s16 d16, d16, d17
|
||||
@ CHECK: vqdmulh.s32 d16, d16, d17 @ encoding: [0x60,0xef,0xa1,0x0b]
|
||||
@ -57,11 +61,7 @@
|
||||
@ CHECK: vqdmull.s32 q8, d16, d17 @ encoding: [0xe0,0xef,0xa1,0x0d]
|
||||
vqdmull.s32 q8, d16, d17
|
||||
|
||||
@ FIXME: vmla.i32 q12, q8, d3[0] @ encoding: [0xe0,0xff,0xc3,0x80]
|
||||
@ vmla.i32 q12, q8, d3[0]
|
||||
@ FIXME: vqdmulh.s16 d11, d2, d3[0] @ encoding: [0x92,0xef,0x43,0xbc]
|
||||
@ vqdmulh.s16 d11, d2, d3[0]
|
||||
@ FIXME: vmul.i16 d18, d8, d0[3] @ encoding: [0xd8,0xef,0x68,0x28]
|
||||
@ vmul.i16 d18, d8, d0[3]
|
||||
|
||||
|
||||
@ FIXME: vmla.i32 q12, q8, d3[0] @ encoding: [0xe0,0xff,0xc3,0x80]
|
||||
@ FIXME: vqdmulh.s16 d11, d2, d3[0] @ encoding: [0x92,0xef,0x43,0xbc]
|
||||
|
Loading…
Reference in New Issue
Block a user