summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2013-06-18 21:49:21 +0000
committerJim Grosbach <grosbach@apple.com>2013-06-18 21:49:21 +0000
commita6ed57d8dd8dbcfc2720e25771366c640fc0d1bf (patch)
treebcf800bc8ddcdfb7455140c2422bb33f737b94da /llvm/lib
parent8c8c6fab4c5ffff8c77be7d8184740ac8e49e42c (diff)
downloadbcm5719-llvm-a6ed57d8dd8dbcfc2720e25771366c640fc0d1bf.tar.gz
bcm5719-llvm-a6ed57d8dd8dbcfc2720e25771366c640fc0d1bf.zip
ARM: Add optional datatype suffix to NEON mvn asm syntax.
rdar://14194152 llvm-svn: 184244
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrNEON.td7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrNEON.td b/llvm/lib/Target/ARM/ARMInstrNEON.td
index 9d1a8ea38b1..32b8d67b05a 100644
--- a/llvm/lib/Target/ARM/ARMInstrNEON.td
+++ b/llvm/lib/Target/ARM/ARMInstrNEON.td
@@ -6698,12 +6698,17 @@ def VST4qWB_register_Asm_32 :
(ins VecListFourQ:$list, addrmode6:$addr,
rGPR:$Rm, pred:$p)>;
-// VMOV takes an optional datatype suffix
+// VMOV/VMVN takes an optional datatype suffix
defm : NEONDTAnyInstAlias<"vmov${p}", "$Vd, $Vm",
(VORRd DPR:$Vd, DPR:$Vm, DPR:$Vm, pred:$p)>;
defm : NEONDTAnyInstAlias<"vmov${p}", "$Vd, $Vm",
(VORRq QPR:$Vd, QPR:$Vm, QPR:$Vm, pred:$p)>;
+defm : NEONDTAnyInstAlias<"vmvn${p}", "$Vd, $Vm",
+ (VMVNd DPR:$Vd, DPR:$Vm, pred:$p)>;
+defm : NEONDTAnyInstAlias<"vmvn${p}", "$Vd, $Vm",
+ (VMVNq QPR:$Vd, QPR:$Vm, pred:$p)>;
+
// VCLT (register) is an assembler alias for VCGT w/ the operands reversed.
// D-register versions.
def : NEONInstAlias<"vcle${p}.s8 $Dd, $Dn, $Dm",
OpenPOWER on IntegriCloud