[llvm-commits] [llvm-gcc-4.2] r62608 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
Duncan Sands
baldrick at free.fr
Tue Jan 20 12:47:33 PST 2009
Author: baldrick
Date: Tue Jan 20 14:47:32 2009
New Revision: 62608
URL: http://llvm.org/viewvc/llvm-project?rev=62608&view=rev
Log:
Add LLVM LOCAL tags to avoid having this be
stomped on again.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/i386.c?rev=62608&r1=62607&r2=62608&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/i386.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/i386.c Tue Jan 20 14:47:32 2009
@@ -2020,15 +2020,19 @@
error ("-mstackrealign not supported in the 64bit mode");
/* APPLE LOCAL end radar 4877693 */
+ /* LLVM LOCAL begin */
target_flags |= TARGET_SUBTARGET64_DEFAULT & ~target_flags_explicit;
+ /* LLVM LOCAL end */
/* Enable by default the SSE and MMX builtins. Do allow the user to
explicitly disable any of these. In particular, disabling SSE and
MMX for kernel code is extremely useful. */
if (!ix86_arch_specified)
+ /* LLVM LOCAL begin */
target_flags
|= ((MASK_SSE2 | MASK_SSE | MASK_MMX | MASK_128BIT_LONG_DOUBLE)
& ~target_flags_explicit);
+ /* LLVM LOCAL end */
/* APPLE LOCAL begin mainline candidate */
/* Disable the red zone for kernel compilation.
??? Why aren't we using -mcmodel=kernel? */
More information about the llvm-commits
mailing list