diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2018-01-25 15:24:43 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2018-01-25 15:24:43 +0000 |
| commit | 75ae75cd17a0dd3dc690600b5858bfa7d21d1866 (patch) | |
| tree | a72bcacd7160bc47e283e509e6f67a6c28101a6e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | a0b2c78efc56b8b406af6607e9beafd16d19be35 (diff) | |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
