2023-07-29 21:57:53 +00:00
|
|
|
// only-x86_64
|
|
|
|
//
|
2018-04-05 15:02:11 +00:00
|
|
|
// gate-test-sse4a_target_feature
|
|
|
|
// gate-test-powerpc_target_feature
|
|
|
|
// gate-test-avx512_target_feature
|
|
|
|
// gate-test-tbm_target_feature
|
|
|
|
// gate-test-arm_target_feature
|
|
|
|
// gate-test-hexagon_target_feature
|
|
|
|
// gate-test-mips_target_feature
|
2018-08-08 00:10:06 +00:00
|
|
|
// gate-test-wasm_target_feature
|
2018-12-17 03:01:43 +00:00
|
|
|
// gate-test-adx_target_feature
|
|
|
|
// gate-test-cmpxchg16b_target_feature
|
2019-01-30 13:27:55 +00:00
|
|
|
// gate-test-movbe_target_feature
|
2019-04-17 23:38:54 +00:00
|
|
|
// gate-test-rtm_target_feature
|
2019-04-25 13:44:22 +00:00
|
|
|
// gate-test-f16c_target_feature
|
2020-03-01 09:52:04 +00:00
|
|
|
// gate-test-riscv_target_feature
|
2020-10-26 10:46:54 +00:00
|
|
|
// gate-test-ermsb_target_feature
|
2021-05-29 12:58:04 +00:00
|
|
|
// gate-test-bpf_target_feature
|
2022-02-10 16:43:45 +00:00
|
|
|
// gate-test-aarch64_ver_target_feature
|
2023-07-14 11:21:01 +00:00
|
|
|
// gate-test-csky_target_feature
|
2018-04-05 15:02:11 +00:00
|
|
|
|
|
|
|
#[target_feature(enable = "avx512bw")]
|
|
|
|
//~^ ERROR: currently unstable
|
2020-09-03 18:14:15 +00:00
|
|
|
unsafe fn foo() {}
|
2018-04-05 15:02:11 +00:00
|
|
|
|
|
|
|
fn main() {}
|