[llvm-commits] [llvm-gcc-4.0] r41573 - /llvm-gcc-4.0/trunk/gcc/config/i386/i386.h
Evan Cheng
evan.cheng at apple.com
Wed Aug 29 10:55:47 PDT 2007
Author: evancheng
Date: Wed Aug 29 12:55:47 2007
New Revision: 41573
URL: http://llvm.org/viewvc/llvm-project?rev=41573&view=rev
Log:
Added missing x86 feature string for 64-bit mode.
Modified:
llvm-gcc-4.0/trunk/gcc/config/i386/i386.h
Modified: llvm-gcc-4.0/trunk/gcc/config/i386/i386.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/gcc/config/i386/i386.h?rev=41573&r1=41572&r2=41573&view=diff
==============================================================================
--- llvm-gcc-4.0/trunk/gcc/config/i386/i386.h (original)
+++ llvm-gcc-4.0/trunk/gcc/config/i386/i386.h Wed Aug 29 12:55:47 2007
@@ -4037,6 +4037,7 @@
F.setCPU(TARGET_64BIT ? "core2" : "yonah"); \
else \
F.setCPU(ix86_arch_string); \
+ if (TARGET_64BIT) F.AddFeature("64bit"); \
if (TARGET_MMX) F.AddFeature("mmx"); \
if (TARGET_SSE) F.AddFeature("sse"); \
if (TARGET_SSE2) F.AddFeature("sse2"); \
More information about the llvm-commits
mailing list