OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
540c6d9
)
ARM NEON two-operand aliases for VMUL.
author
Jim Grosbach
<grosbach@apple.com>
Thu, 8 Dec 2011 00:59:47 +0000
(
00:59
+0000)
committer
Jim Grosbach
<grosbach@apple.com>
Thu, 8 Dec 2011 00:59:47 +0000
(
00:59
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146119
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMInstrNEON.td
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMInstrNEON.td
b/lib/Target/ARM/ARMInstrNEON.td
index
18c9de2
..
cb82207
100644
(file)
--- a/
lib/Target/ARM/ARMInstrNEON.td
+++ b/
lib/Target/ARM/ARMInstrNEON.td
@@
-5376,6
+5376,11
@@
defm : VFPDTAnyInstAlias<"vorr${p}", "$Vdn, $Vm",
(VORRq QPR:$Vdn, QPR:$Vdn, QPR:$Vm, pred:$p)>;
// VMUL two-operand aliases.
+def : NEONInstAlias<"vmul${p}.f32 $Qdn, $Qm",
+ (VMULfq QPR:$Qdn, QPR:$Qdn, QPR:$Qm, pred:$p)>;
+def : NEONInstAlias<"vmul${p}.f32 $Ddn, $Dm",
+ (VMULfd DPR:$Ddn, DPR:$Ddn, DPR:$Dm, pred:$p)>;
+
def : NEONInstAlias<"vmul${p}.i16 $Ddn, $Dm$lane",
(VMULslv4i16 DPR:$Ddn, DPR:$Ddn, DPR_8:$Dm,
VectorIndex16:$lane, pred:$p)>;