mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
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:
parent
9dd98c0eab
commit
8985f872f1
@ -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
4
test/MC/ARM/v7k-dsp.s
Normal 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
|
Loading…
Reference in New Issue
Block a user