llvm-project/clang/lib/Driver
Nico Weber 75ae75cd17 [clang-cl] Add support for /arch:AVX512F and /arch:AVX512
For /arch:AVX512F:
clang-cl and cl.exe both defines __AVX512F__ __AVX512CD__.
clang-cl also defines __AVX512ER__ __AVX512PF__.
64-bit cl.exe also defines (according to /Bz) _NO_PREFETCHW.

For /arch:AVX512:
clang-cl and cl.exe both define
__AVX512F__ __AVX512CD__ __AVX512BW__ __AVX512DQ__ __AVX512VL__.
64-bit cl.exe also defines _NO_PREFETCHW.

So not 100% identical, but pretty close.

Also refactor the existing AVX / AVX2 code to not repeat itself in both the
32-bit and 64-bit cases.

https://reviews.llvm.org/D42538

llvm-svn: 323433
2018-01-25 15:24:43 +00:00
..
ToolChains [clang-cl] Add support for /arch:AVX512F and /arch:AVX512 2018-01-25 15:24:43 +00:00
Action.cpp Fix MSVC "not all control paths return a value" warning 2016-10-28 10:09:35 +00:00
CMakeLists.txt [RISCV] Add the RISCV target and compiler driver 2018-01-11 13:36:56 +00:00
Compilation.cpp [Driver] Make clang/cc conforms to UNIX standard 2017-11-10 01:32:47 +00:00
Distro.cpp [Driver] add initial support for alpine linux 2017-11-19 00:08:12 +00:00
Driver.cpp [Driver] Suggest correctly spelled driver options 2018-01-06 00:25:40 +00:00
DriverOptions.cpp Revert "Revert r311552: [Bash-autocompletion] Add support for static analyzer flags" 2017-08-29 00:09:31 +00:00
InputInfo.h Add an Action* member to InputInfo. 2016-01-11 23:15:21 +00:00
Job.cpp Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
Multilib.cpp Multilib: add dump methods 2017-05-05 21:30:13 +00:00
Phases.cpp
SanitizerArgs.cpp Reland "[Driver] Update default sanitizer blacklist location" 2018-01-14 03:43:17 +00:00
Tool.cpp Rename the version of ConstructJob for multiple outputs to ConstructJobMultipleOutputs. 2016-11-03 15:41:50 +00:00
ToolChain.cpp [driver] Set the 'simulator' environment for Darwin when compiling for 2017-12-07 19:04:10 +00:00
Types.cpp [Driver][OpenMP] Update actions builder to create unbundling action when necessary. 2016-10-27 18:00:51 +00:00
XRayArgs.cpp [XRay][clang] Introduce -fxray-always-emit-customevents 2017-11-30 00:04:54 +00:00