summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb2/thumb2-smla.ll
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-07-01 21:12:19 +0000
committerJim Grosbach <grosbach@apple.com>2011-07-01 21:12:19 +0000
commita7603982dbf9e240ecc7ed6eddcd1cdb868107ac (patch)
tree87a983d92fb76b9bfbd27279864c36283ec030bc /test/CodeGen/Thumb2/thumb2-smla.ll
parent5b1b4489cf3a0f56f8be0673fc5cc380a32d277b (diff)
downloadexternal_llvm-a7603982dbf9e240ecc7ed6eddcd1cdb868107ac.zip
external_llvm-a7603982dbf9e240ecc7ed6eddcd1cdb868107ac.tar.gz
external_llvm-a7603982dbf9e240ecc7ed6eddcd1cdb868107ac.tar.bz2
ARMv7M vs. ARMv7E-M support.
The DSP instructions in the Thumb2 instruction set are an optional extension in the Cortex-M* archtitecture. When present, the implementation is considered an "ARMv7E-M implementation," and when not, an "ARMv7-M implementation." Add a subtarget feature hook for the v7e-m instructions and hook it up. The cortex-m3 cpu is an example of a v7m implementation, while the cortex-m4 is a v7e-m implementation. rdar://9572992 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134261 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/thumb2-smla.ll')
-rw-r--r--test/CodeGen/Thumb2/thumb2-smla.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-smla.ll b/test/CodeGen/Thumb2/thumb2-smla.ll
index bd4dcbe..c128ecc 100644
--- a/test/CodeGen/Thumb2/thumb2-smla.ll
+++ b/test/CodeGen/Thumb2/thumb2-smla.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+t2xtpk | FileCheck %s
+; RUN: llc < %s -march=thumb -mattr=+thumb2,+t2xtpk,+t2dsp | FileCheck %s
define i32 @f3(i32 %a, i16 %x, i32 %y) {
; CHECK: f3