aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/msvc.txt
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-26 00:23:13 +0000
committerlloyd <[email protected]>2014-01-26 00:23:13 +0000
commit4f8afd8dc67b0f34d93a105df078644f1c762878 (patch)
tree5bdcbe7a1bda6797d5b45a445bc992f657356e93 /src/build-data/cc/msvc.txt
parentf5bd8adc44701a37204a6748089c2ee11a5a781d (diff)
If the build compiler doesn't support intrinsics we need, disable the module
rather than causing the whole build to fail. Also mark MSVC as supporting intrinsics (except AVX2 which seemingly is not yet supported). Github issue 7.
Diffstat (limited to 'src/build-data/cc/msvc.txt')
-rw-r--r--src/build-data/cc/msvc.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
index 93dcdcb50..9897895d4 100644
--- a/src/build-data/cc/msvc.txt
+++ b/src/build-data/cc/msvc.txt
@@ -21,6 +21,18 @@ ar_command lib
makefile_style nmake
+<isa_flags>
+sse2 -> ""
+ssse3 -> ""
+sse4.1 -> ""
+sse4.2 -> ""
+#avx2 -> ""
+bmi2 -> ""
+aesni -> ""
+clmul -> ""
+rdrand -> ""
+</isa_flags>
+
<so_link_flags>
default -> "$(CXX) /LD"
</so_link_flags>