summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.h
diff options
context:
space:
mode:
authorArnold Schwaighofer <arnolds@codeaurora.org>2012-09-04 14:37:49 +0000
committerArnold Schwaighofer <arnolds@codeaurora.org>2012-09-04 14:37:49 +0000
commitf00fb1c581781dd5c90d5fab90eeb916bbead4cc (patch)
treeb8ae066eaec24ffcbf18ad80f8ddd9f1a748d3de /llvm/lib/Target/ARM/ARMISelLowering.h
parent7143f00ae910a479cdfe23d45bc5544ecdaf50ae (diff)
downloadbcm5719-llvm-f00fb1c581781dd5c90d5fab90eeb916bbead4cc.tar.gz
bcm5719-llvm-f00fb1c581781dd5c90d5fab90eeb916bbead4cc.zip
Patch to implement UMLAL/SMLAL instructions for the ARM architecture
This patch corrects the definition of umlal/smlal instructions and adds support for matching them to the ARM dag combiner. Bug 12213 Patch by Yin Ma! llvm-svn: 163136
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.h')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h
index 757c68ee370..2b8f382c955 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.h
+++ b/llvm/lib/Target/ARM/ARMISelLowering.h
@@ -173,6 +173,9 @@ namespace llvm {
VMULLs, // ...signed
VMULLu, // ...unsigned
+ UMLAL, // 64bit Unsigned Accumulate Multiply
+ SMLAL, // 64bit Signed Accumulate Multiply
+
// Operands of the standard BUILD_VECTOR node are not legalized, which
// is fine if BUILD_VECTORs are always lowered to shuffles or other
// operations, but for ARM some BUILD_VECTORs are legal as-is and their
OpenPOWER on IntegriCloud