[llvm-commits] [llvm-gcc-4.2] r84685 - /llvm-gcc-4.2/trunk/gcc/config/arm/arm.h
Anton Korobeynikov
asl at math.spbu.ru
Tue Oct 20 14:42:20 PDT 2009
Author: asl
Date: Tue Oct 20 16:42:20 2009
New Revision: 84685
URL: http://llvm.org/viewvc/llvm-project?rev=84685&view=rev
Log:
Propagate vfp3 subtarget features to backend
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/arm.h
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/arm.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/arm.h?rev=84685&r1=84684&r2=84685&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/arm.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/arm.h Tue Oct 20 16:42:20 2009
@@ -3480,6 +3480,10 @@
F.setCPU("arm7tdmi"); \
break; \
} \
+ if (TARGET_VFP3) \
+ F.AddFeature("vfp3"); \
+ else \
+ F.AddFeature("vfp3", false); \
if (TARGET_NEON) \
F.AddFeature("neon"); \
else \
More information about the llvm-commits
mailing list