mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 20:05:38 +00:00
ARM assembly parsing for two-operand form of 'mul' instruction.
rdar://10449856. llvm-svn: 144689
This commit is contained in:
parent
8b1d4c989c
commit
f0690cd90c
@ -1172,3 +1172,9 @@ defm : VFPDT64InstAlias<"vldr${p}", "$Dd, $addr",
|
||||
(VLDRD DPR:$Dd, addrmode5:$addr, pred:$p)>;
|
||||
defm : VFPDT64InstAlias<"vstr${p}", "$Dd, $addr",
|
||||
(VSTRD DPR:$Dd, addrmode5:$addr, pred:$p)>;
|
||||
|
||||
// VMUL has a two-operand form (implied destination operand)
|
||||
def : VFP2InstAlias<"vmul${p}.f64 $Dn, $Dm",
|
||||
(VMULD DPR:$Dn, DPR:$Dn, DPR:$Dm, pred:$p)>;
|
||||
def : VFP2InstAlias<"vmul${p}.f32 $Sn, $Sm",
|
||||
(VMULS SPR:$Sn, SPR:$Sn, SPR:$Sm, pred:$p)>;
|
||||
|
@ -21,9 +21,15 @@
|
||||
@ CHECK: vmul.f64 d16, d17, d16 @ encoding: [0xa0,0x0b,0x61,0xee]
|
||||
vmul.f64 d16, d17, d16
|
||||
|
||||
@ CHECK: vmul.f64 d20, d20, d17 @ encoding: [0xa1,0x4b,0x64,0xee]
|
||||
vmul.f64 d20, d17
|
||||
|
||||
@ CHECK: vmul.f32 s0, s1, s0 @ encoding: [0x80,0x0a,0x20,0xee]
|
||||
vmul.f32 s0, s1, s0
|
||||
|
||||
@ CHECK: vmul.f32 s11, s11, s21 @ encoding: [0xaa,0x5a,0x65,0xee]
|
||||
vmul.f32 s11, s21
|
||||
|
||||
@ CHECK: vnmul.f64 d16, d17, d16 @ encoding: [0xe0,0x0b,0x61,0xee]
|
||||
vnmul.f64 d16, d17, d16
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user