Skip to content

Tracking Issue for sha512_sm_x86 #126624

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
3 of 4 tasks
sayantn opened this issue Jun 18, 2024 · 3 comments
Open
3 of 4 tasks

Tracking Issue for sha512_sm_x86 #126624

sayantn opened this issue Jun 18, 2024 · 3 comments
Labels
A-SIMD Area: SIMD (Single Instruction Multiple Data) A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC I-libs-api-nominated Nominated for discussion during a libs-api team meeting. T-lang Relevant to the language team, which will review and decide on the PR/issue.

Comments

@sayantn
Copy link
Contributor

sayantn commented Jun 18, 2024

This tracks the integration of Intel's SHA512, SM3 and SM4 instruction sets in Rust

The feature gate for the issue is #![feature(sha512_sm_x86)].

Steps

  • Add the feature to rustc
  • Add the target-features
  • Add the intrinsics to stdarch
  • Stabilization PR

Implementation History

@sayantn sayantn added the C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC label Jun 18, 2024
@sayantn sayantn changed the title Tracking Issue for x86_sha512_sm Tracking Issue for sha512_sm_x86 Jun 19, 2024
@rustbot rustbot added A-SIMD Area: SIMD (Single Instruction Multiple Data) A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. labels Jun 24, 2024
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Aug 2, 2024
Added SHA512, SM3, SM4 target-features and `sha512_sm_x86` feature gate

This is an effort towards rust-lang#126624. This adds support for these 3 target-features and introduces the feature flag `sha512_sm_x86`, which would gate these target-features and the yet-to-be-implemented detection and intrinsics in stdarch.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Aug 2, 2024
Added SHA512, SM3, SM4 target-features and `sha512_sm_x86` feature gate

This is an effort towards rust-lang#126624. This adds support for these 3 target-features and introduces the feature flag `sha512_sm_x86`, which would gate these target-features and the yet-to-be-implemented detection and intrinsics in stdarch.
jieyouxu added a commit to jieyouxu/rust that referenced this issue Aug 2, 2024
Added SHA512, SM3, SM4 target-features and `sha512_sm_x86` feature gate

This is an effort towards rust-lang#126624. This adds support for these 3 target-features and introduces the feature flag `sha512_sm_x86`, which would gate these target-features and the yet-to-be-implemented detection and intrinsics in stdarch.
jieyouxu added a commit to jieyouxu/rust that referenced this issue Aug 2, 2024
Added SHA512, SM3, SM4 target-features and `sha512_sm_x86` feature gate

This is an effort towards rust-lang#126624. This adds support for these 3 target-features and introduces the feature flag `sha512_sm_x86`, which would gate these target-features and the yet-to-be-implemented detection and intrinsics in stdarch.
jieyouxu added a commit to jieyouxu/rust that referenced this issue Aug 3, 2024
Added SHA512, SM3, SM4 target-features and `sha512_sm_x86` feature gate

This is an effort towards rust-lang#126624. This adds support for these 3 target-features and introduces the feature flag `sha512_sm_x86`, which would gate these target-features and the yet-to-be-implemented detection and intrinsics in stdarch.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Aug 3, 2024
Added SHA512, SM3, SM4 target-features and `sha512_sm_x86` feature gate

This is an effort towards rust-lang#126624. This adds support for these 3 target-features and introduces the feature flag `sha512_sm_x86`, which would gate these target-features and the yet-to-be-implemented detection and intrinsics in stdarch.
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Aug 3, 2024
Rollup merge of rust-lang#126704 - sayantn:sha, r=Amanieu

Added SHA512, SM3, SM4 target-features and `sha512_sm_x86` feature gate

This is an effort towards rust-lang#126624. This adds support for these 3 target-features and introduces the feature flag `sha512_sm_x86`, which would gate these target-features and the yet-to-be-implemented detection and intrinsics in stdarch.
@sayantn
Copy link
Contributor Author

sayantn commented May 4, 2025

cc @rust-lang/lang
cc @Amanieu

I believe these are ready to be stabilized, as all the implementation jobs are done.

@rustbot label I-lang-nominated

@rustbot rustbot added the I-lang-nominated Nominated for discussion during a lang team meeting. label May 4, 2025
newpavlov pushed a commit to RustCrypto/utils that referenced this issue May 6, 2025
@traviscross
Copy link
Contributor

@rustbot labels -I-lang-nominated

We do our stabilization FCPs on stabilization PRs. Please submit and nominate one of those for us along with the stabilization report. See the new template for that:

rust-lang/rustc-dev-guide#2219

@rustbot rustbot removed the I-lang-nominated Nominated for discussion during a lang team meeting. label May 7, 2025
@traviscross traviscross added the T-lang Relevant to the language team, which will review and decide on the PR/issue. label May 7, 2025
@sayantn
Copy link
Contributor Author

sayantn commented May 7, 2025

The lang-stabilization is being done in #140767, so let's do the libs stabilization here (intrinsics and runtime detection, in rust-lang/stdarch#1796)

@rustbot label I-libs-api-nominated

@rustbot rustbot added the I-libs-api-nominated Nominated for discussion during a libs-api team meeting. label May 7, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-SIMD Area: SIMD (Single Instruction Multiple Data) A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC I-libs-api-nominated Nominated for discussion during a libs-api team meeting. T-lang Relevant to the language team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants