[llvm-commits] [gcc-plugin] r82918 - /gcc-plugin/trunk/x86/llvm-target.h
Duncan Sands
baldrick at free.fr
Sun Sep 27 13:21:10 PDT 2009
Author: baldrick
Date: Sun Sep 27 15:21:10 2009
New Revision: 82918
URL: http://llvm.org/viewvc/llvm-project?rev=82918&view=rev
Log:
MASK_MMX, MASK_SSE and friends were renamed to OPTION_MASK_ISA_MMX,
OPTION_MASK_ISA_SSE etc in gcc commit 125189. Rename them in the
plugin.
Modified:
gcc-plugin/trunk/x86/llvm-target.h
Modified: gcc-plugin/trunk/x86/llvm-target.h
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/x86/llvm-target.h?rev=82918&r1=82917&r2=82918&view=diff
==============================================================================
--- gcc-plugin/trunk/x86/llvm-target.h (original)
+++ gcc-plugin/trunk/x86/llvm-target.h Sun Sep 27 15:21:10 2009
@@ -852,13 +852,17 @@
F.setCPU(ix86_arch_string); \
if (TARGET_64BIT) F.AddFeature("64bit"); \
if (TARGET_MMX) F.AddFeature("mmx"); \
- else if (target_flags_explicit & MASK_MMX) F.AddFeature("mmx", false); \
+ else if (target_flags_explicit & OPTION_MASK_ISA_MMX) \
+ F.AddFeature("mmx", false); \
if (TARGET_SSE) F.AddFeature("sse"); \
- else if (target_flags_explicit & MASK_SSE) F.AddFeature("sse", false); \
+ else if (target_flags_explicit & OPTION_MASK_ISA_SSE) \
+ F.AddFeature("sse", false); \
if (TARGET_SSE2) F.AddFeature("sse2"); \
- else if (target_flags_explicit & MASK_SSE2) F.AddFeature("sse2", false); \
+ else if (target_flags_explicit & OPTION_MASK_ISA_SSE2) \
+ F.AddFeature("sse2", false); \
if (TARGET_SSE3) F.AddFeature("sse3"); \
- else if (target_flags_explicit & MASK_SSE3) F.AddFeature("sse3", false); \
+ else if (target_flags_explicit & OPTION_MASK_ISA_SSE3) \
+ F.AddFeature("sse3", false); \
if (TARGET_SSSE3) F.AddFeature("ssse3"); \
if (TARGET_SSE4_1) F.AddFeature("sse41"); \
if (TARGET_SSE4_2) F.AddFeature("sse42"); \
More information about the llvm-commits
mailing list