Add Icelake avx512 features (#838)

* Add Icelake avx512 features

As documented in https://software.intel.com/sites/default/files/managed/c5/15//architecture-instruction-set-extensions-programming-reference.pdf

* Sort the avx512 feature checks by bit

* Unbreak macos

Force nightly.
This commit is contained in:
Luca Barbato 2020-01-26 20:10:29 +01:00 committed by Alex Crichton
parent c8c587d0cd
commit 1601ce4f2f
6 changed files with 80 additions and 1 deletions

View file

@ -173,8 +173,12 @@ jobs:
run: |
curl https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
echo "##[add-path]$HOME/.cargo/bin"
rustup update nightly --no-self-update
rustup default nightly
if: matrix.os == 'macos-latest'
- run: rustup target add ${{ matrix.target }}
- run: |
rustup default nightly
rustup target add ${{ matrix.target }}
if: "!endsWith(matrix.target, 'emulated')"
- run: cargo generate-lockfile