diff --git a/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp b/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp index d016ad8d079..7be092ac2ca 100644 --- a/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp +++ b/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp @@ -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"; diff --git a/test/MC/ARM/v7k-dsp.s b/test/MC/ARM/v7k-dsp.s new file mode 100644 index 00000000000..cf510174638 --- /dev/null +++ b/test/MC/ARM/v7k-dsp.s @@ -0,0 +1,4 @@ +@ RUN: llvm-mc -triple thumbv7k-apple-watchos2.0 %s | FileCheck %s + +@ CHECK: usad8 r2, r1, r4 + usad8 r2, r1, r4