]> granicus.if.org Git - clang/commit
Separate popcnt and sse4.2 feature control somewhat to match gcc behavior.
authorCraig Topper <craig.topper@gmail.com>
Tue, 10 Sep 2013 06:55:47 +0000 (06:55 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 10 Sep 2013 06:55:47 +0000 (06:55 +0000)
commit89a5e796bedcfbf6afd03654e75b9f7aa0a0b4f4
tree1cf16074f39f2617ee01564e24f794a3d4c3997e
parent7fda20777785ae0076aa9f1c49ff6639cb7299ef
Separate popcnt and sse4.2 feature control somewhat to match gcc behavior.

Enabling sse4.2 will implicitly enable popcnt unless popcnt is explicitly disabled.
Disabling sse4.2 will not disable popcnt if popcnt is explicitly enabled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190387 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Preprocessor/x86_target_features.c