[llvm-commits] [llvm-gcc-4.2] r64506 - in /llvm-gcc-4.2/trunk/gcc/config: arm/arm.h i386/i386.h rs6000/rs6000.h
Evan Cheng
evan.cheng at apple.com
Sat Feb 14 02:16:36 PST 2009
Yes, of course. Thanks.
Evan
On Feb 13, 2009, at 6:43 PM, Sandeep Patel <deeppatel1987 at gmail.com>
wrote:
> You probably meant TARGET_SOFT_FLOAT here.
>
> deep
>
> On Fri, Feb 13, 2009 at 3:35 PM, Evan Cheng <evan.cheng at apple.com>
> wrote:
>> Author: evancheng
>> Date: Fri Feb 13 17:35:33 2009
>> New Revision: 64506
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=64506&view=rev
>> Log:
>> Translate -msoft-float to -soft-float.
>>
>> Modified:
>> llvm-gcc-4.2/trunk/gcc/config/arm/arm.h
>> llvm-gcc-4.2/trunk/gcc/config/i386/i386.h
>> llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.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=64506&r1=64505&r2=64506&view=diff
>>
>> ===
>> ===
>> ===
>> =====================================================================
>> --- llvm-gcc-4.2/trunk/gcc/config/arm/arm.h (original)
>> +++ llvm-gcc-4.2/trunk/gcc/config/arm/arm.h Fri Feb 13 17:35:33 2009
>> @@ -2922,6 +2922,10 @@
>> #define LLVM_OVERRIDE_TARGET_ARCH() \
>> (TARGET_THUMB ? "thumb" : "")
>>
>> +#define LLVM_SET_MACHINE_OPTIONS(argvec) \
>> + if (TARGET_SOFT_FLAT) \
>> + argvec.push_back("-soft-float");
>> +
>> /* Doing struct copy by partial-word loads and stores is not a good
>> idea on ARM. */
>> #define TARGET_LLVM_MIN_BYTES_COPY_BY_MEMCPY 4
>>
>>
>> Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/i386.h?rev=64506&r1=64505&r2=64506&view=diff
>>
>> ===
>> ===
>> ===
>> =====================================================================
>> --- llvm-gcc-4.2/trunk/gcc/config/i386/i386.h (original)
>> +++ llvm-gcc-4.2/trunk/gcc/config/i386/i386.h Fri Feb 13 17:35:33
>> 2009
>> @@ -3892,6 +3892,10 @@
>> if (TARGET_3DNOW) F.AddFeature("3dnow"); \
>> if (TARGET_3DNOW_A) F.AddFeature("3dnowa"); \
>> }
>> +
>> +#define LLVM_SET_MACHINE_OPTIONS(argvec) \
>> + if (!TARGET_80387) \
>> + argvec.push_back("-soft-float");
>>
>> /* LLVM ABI definition macros. */
>>
>>
>> Modified: llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.h?rev=64506&r1=64505&r2=64506&view=diff
>>
>> ===
>> ===
>> ===
>> =====================================================================
>> --- llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.h (original)
>> +++ llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.h Fri Feb 13
>> 17:35:33 2009
>> @@ -3463,6 +3463,10 @@
>> F.AddFeature("64bit", TARGET_POWERPC64); \
>> }
>>
>> +#define LLVM_SET_MACHINE_OPTIONS(argvec) \
>> + if (TARGET_SOFT_FLAT) \
>> + argvec.push_back("-soft-float");
>> +
>> /* When -m64 is specified, set the architecture to powerpc64-os-
>> blah even if the
>> * compiler was configured for powerpc-os-blah.
>> */
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list