Skip to content

Commit ecfc84d

Browse files
committed
Auto merge of rust-lang#144542 - sayantn:stabilize-sse4a-tbm, r=Amanieu,traviscross
Stabilize `sse4a` and `tbm` target features This PR stabilizes the feature flag `sse4a_target_feature` and `tbm_target_feature` (tracking issue rust-lang#44839). # Public API The 2 `x86` target features `sse4a` and `tbm` Also, these were added in LLVM2.6 and LLVM3.4-rc1, respectively, and as the minimum LLVM required for rustc is LLVM19, we are safe in that front too! As all of the required tasks have been done (adding the target features to rustc, implementing their runtime detection in std_detect and implementing the associated intrinsics in core_arch), these target features can be stabilized now. The intrinsics were stabilized *long* ago, in 1.27.0 Reference PR: - rust-lang/reference#1949 cc `@rust-lang/lang` `@rustbot` label I-lang-nominated r? lang
2 parents f85a5f6 + f312a5a commit ecfc84d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

core/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,6 @@
200200
#![feature(riscv_target_feature)]
201201
#![feature(rtm_target_feature)]
202202
#![feature(s390x_target_feature)]
203-
#![feature(sse4a_target_feature)]
204-
#![feature(tbm_target_feature)]
205203
#![feature(wasm_target_feature)]
206204
#![feature(x86_amx_intrinsics)]
207205
// tidy-alphabetical-end

stdarch/crates/core_arch/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
rustc_attrs,
1919
staged_api,
2020
doc_cfg,
21-
tbm_target_feature,
22-
sse4a_target_feature,
2321
riscv_target_feature,
2422
arm_target_feature,
2523
mips_target_feature,

0 commit comments

Comments
 (0)