mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-30 17:02:29 +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;
|
break;
|
||||||
case Triple::ARMSubArch_v7k:
|
case Triple::ARMSubArch_v7k:
|
||||||
if (NoCPU)
|
if (NoCPU)
|
||||||
// v7k: FeatureNEON, FeatureDB, FeatureDSPThumb2, FeatureHasRAS
|
// v7k: FeatureNEON, FeatureDB, FeatureDSP, FeatureHasRAS
|
||||||
// A7
|
// A7
|
||||||
ARMArchFeature = "+v7,+a7,+neon,+db,+t2dsp,+ras";
|
ARMArchFeature = "+v7,+a7,+neon,+db,+dsp,+ras";
|
||||||
else
|
else
|
||||||
// Use CPU to figure out the exact features.
|
// Use CPU to figure out the exact features.
|
||||||
ARMArchFeature = "+v7";
|
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…
x
Reference in New Issue
Block a user