[llvm-commits] [llvm-gcc] Cumulative Patch 2007-01-07 (Take 2)
Devang Patel
dpatel at apple.com
Mon Jan 8 11:08:52 PST 2007
On Jan 8, 2007, at 11:05 AM, Reid Spencer wrote:
>> OK. I suspect this may not be straight forward. Let's see.
>>
>> -
>> Devang
>>
>> <i386.patch>
config.gcc selects target specific C source file name based on
cpu_type (by default). So, I thought it may not be super easy to trace
all uses of i386.c.
Your patch should work. However, I am testing following to cover
everything under i386* and x86* umbrella in one shot.
-
Devang
Index: config.gcc
===================================================================
--- config.gcc (revision 122065)
+++ config.gcc (working copy)
@@ -269,11 +269,17 @@ xscale-*-*)
# APPLE LOCAL begin mni 4424835
i[34567]86-*-*)
cpu_type=i386
+# APPLE LOCAL begin LLVM
+ out_cxx_file=i386/llvm-i386.cpp
+# APPLE LOCAL end LLVM
extra_headers="mmintrin.h mm3dnow.h xmmintrin.h emmintrin.h
pmmintrin.h tmmintrin.h"
;;
x86_64-*-*)
cpu_type=i386
+# APPLE LOCAL begin LLVM
+ out_cxx_file=i386/llvm-i386.cpp
+# APPLE LOCAL end LLVM
extra_headers="mmintrin.h mm3dnow.h xmmintrin.h emmintrin.h
pmmintrin.h tmmintrin.h"
need_64bit_hwint=yes
@@ -966,9 +972,6 @@ i[34567]86-*-darwin*)
# APPLE LOCAL end mainline 2005-10-02 4218570
# APPLE LOCAL 4099000
tmake_file="${tmake_file} i386/t-darwin"
-# APPLE LOCAL begin LLVM
- out_cxx_file=i386/llvm-i386.cpp
-# APPLE LOCAL end LLVM
# APPLE LOCAL 4126124
need_64bit_hwint=yes
;;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070108/c156800d/attachment.html>
More information about the llvm-commits
mailing list