[llvm] r251814 - WatchOS: update default CPU for triple after t2dsp -> dsp rename
Tim Northover via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 2 10:21:08 PST 2015
Author: tnorthover
Date: Mon Nov 2 12:21:07 2015
New Revision: 251814
URL: http://llvm.org/viewvc/llvm-project?rev=251814&view=rev
Log:
WatchOS: update default CPU for triple after t2dsp -> dsp rename
Added:
llvm/trunk/test/MC/ARM/v7k-dsp.s
Modified:
llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
Modified: llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp?rev=251814&r1=251813&r2=251814&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp (original)
+++ llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp Mon Nov 2 12:21:07 2015
@@ -190,9 +190,9 @@ std::string ARM_MC::ParseARMTriple(const
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";
Added: llvm/trunk/test/MC/ARM/v7k-dsp.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/v7k-dsp.s?rev=251814&view=auto
==============================================================================
--- llvm/trunk/test/MC/ARM/v7k-dsp.s (added)
+++ llvm/trunk/test/MC/ARM/v7k-dsp.s Mon Nov 2 12:21:07 2015
@@ -0,0 +1,4 @@
+@ RUN: llvm-mc -triple thumbv7k-apple-watchos2.0 %s | FileCheck %s
+
+@ CHECK: usad8 r2, r1, r4
+ usad8 r2, r1, r4
More information about the llvm-commits
mailing list