Change Feature64Bit to not imply FeatureSSE2. All x86-64 hardware has
authorDan Gohman <gohman@apple.com>
Tue, 3 Feb 2009 00:04:43 +0000 (00:04 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 3 Feb 2009 00:04:43 +0000 (00:04 +0000)
commitf75e5b4d8cbbec83924a3186a167a03564e5c373
treed62257faa741547d30db110a16ac88d7c025560e
parentca57b84729303d6f0c5abf951563efcde97010cd
Change Feature64Bit to not imply FeatureSSE2. All x86-64 hardware has
SSE2, however it's possible to disable SSE2, and the subtarget support
code thinks that if 64-bit implies SSE2 and SSE2 is disabled then
64-bit should also be disabled. Instead, just mark all the 64-bit
subtargets as explicitly supporting SSE2.

Also, move the code that makes -march=x86-64 enable 64-bit support by
default to only apply when there is no explicit subtarget. If you
need to specify a subtarget and you want 64-bit code, you'll need to
select a subtarget that supports 64-bit code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63575 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86.td
lib/Target/X86/X86Subtarget.cpp