WatchOS: update default CPU for triple after t2dsp -> dsp rename

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251814 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Tim Northover 2015-11-02 18:21:07 +00:00
parent 9dd98c0eab
commit 8985f872f1
2 changed files with 6 additions and 2 deletions

View File

@ -190,9 +190,9 @@ std::string ARM_MC::ParseARMTriple(const Triple &TT, StringRef CPU) {
break;
case Triple::ARMSubArch_v7k:
if (NoCPU)
// v7k: FeatureNEON, FeatureDB, FeatureDSPThumb2, FeatureHasRAS
// v7k: FeatureNEON, FeatureDB, FeatureDSP, FeatureHasRAS
// A7
ARMArchFeature = "+v7,+a7,+neon,+db,+t2dsp,+ras";
ARMArchFeature = "+v7,+a7,+neon,+db,+dsp,+ras";
else
// Use CPU to figure out the exact features.
ARMArchFeature = "+v7";

4
test/MC/ARM/v7k-dsp.s Normal file
View File

@ -0,0 +1,4 @@
@ RUN: llvm-mc -triple thumbv7k-apple-watchos2.0 %s | FileCheck %s
@ CHECK: usad8 r2, r1, r4
usad8 r2, r1, r4