Rollup merge of #90621 - adamgemmell:dev/stabilise-target-feature, r=Amanieu
Stabilise `aarch64_target_feature` This PR stabilises `aarch64_target_feature` - see https://github.com/rust-lang/rust/issues/90620
This commit is contained in:
commit
0e423932f8
10 changed files with 79 additions and 62 deletions
|
|
@ -41,7 +41,7 @@ define MK_TARGETS
|
|||
# now.
|
||||
$(1): simd.rs
|
||||
$$(RUSTC) --target=$(1) --emit=llvm-ir,asm simd.rs \
|
||||
-C target-feature='+neon,+sse2' -C extra-filename=-$(1)
|
||||
-C target-feature='+fp,+neon,+sse2' -C extra-filename=-$(1)
|
||||
endef
|
||||
|
||||
$(foreach targetxxx,$(TARGETS),$(eval $(call MK_TARGETS,$(targetxxx))))
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
// gate-test-avx512_target_feature
|
||||
// gate-test-tbm_target_feature
|
||||
// gate-test-arm_target_feature
|
||||
// gate-test-aarch64_target_feature
|
||||
// gate-test-hexagon_target_feature
|
||||
// gate-test-mips_target_feature
|
||||
// gate-test-wasm_target_feature
|
||||
|
|
@ -28,6 +27,7 @@
|
|||
// gate-test-riscv_target_feature
|
||||
// gate-test-ermsb_target_feature
|
||||
// gate-test-bpf_target_feature
|
||||
// gate-test-aarch64_ver_target_feature
|
||||
|
||||
#[target_feature(enable = "avx512bw")]
|
||||
//~^ ERROR: currently unstable
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// build-fail
|
||||
// compile-flags: --crate-type=rlib --target=aarch64-unknown-linux-gnu
|
||||
// needs-llvm-components: aarch64
|
||||
#![feature(aarch64_target_feature, target_feature_11)]
|
||||
#![cfg_attr(bootstrap, feature(aarch64_target_feature))]
|
||||
#![feature(no_core, lang_items)]
|
||||
#![no_core]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue