]> granicus.if.org Git - clang/commit
More x86 target feature support.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 6 May 2009 21:07:50 +0000 (21:07 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 6 May 2009 21:07:50 +0000 (21:07 +0000)
commit17ca3638e852ba81f389e9f896ed0420b52ae606
tree43558224b95c2af403a7edb86eaa6a9e6de2bafe
parente6863644c6b34bc40cd867e758de1c809d9a55b4
More x86 target feature support.
 - Apologies for the extremely gross code duplication, I want to get
   this working and then decide how to get this information out of the
   back end.

 - This replaces -m[no-]sse4[12] by -m[no-]sse4, it appears gcc
   doesn't distinguish them?

 - -msse, etc. now properly disable/enable related features.

 - Don't always define __SSE3__...

 - The main missing functionality bit here is that we don't initialize
   the features based on the CPU for all -march options.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71117 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/TargetInfo.h
include/clang/Driver/Options.def
lib/Basic/Targets.cpp
test/Preprocessor/x86_target_features.c [new file with mode: 0644]
tools/clang-cc/clang-cc.cpp