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