Rollup merge of #60267 - gnzlbg:f16c_target_feature, r=alexcrichton

Add feature-gate for f16c target feature

r? @alexcrichton
This commit is contained in:
Mazdak Farrokhzad 2019-04-26 03:50:22 +02:00 committed by GitHub
commit 4387f99fc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

@ -24,6 +24,7 @@
// gate-test-cmpxchg16b_target_feature
// gate-test-movbe_target_feature
// gate-test-rtm_target_feature
// gate-test-f16c_target_feature
// min-llvm-version 6.0
#[target_feature(enable = "avx512bw")]

View file

@ -1,5 +1,5 @@
error[E0658]: the target feature `avx512bw` is currently unstable
--> $DIR/target-feature-gate.rs:29:18
--> $DIR/target-feature-gate.rs:30:18
|
LL | #[target_feature(enable = "avx512bw")]
| ^^^^^^^^^^^^^^^^^^^