Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Convert SSE 4.2 intrinsics to const generics #1023

Merged
merged 15 commits into from
Feb 28, 2021

Conversation

lqd
Copy link
Member

@lqd lqd commented Feb 28, 2021

This PR converts the SSE 4.2 intrinsics :

  • _mm_cmpestra
  • _mm_cmpestro
  • _mm_cmpestrs
  • _mm_cmpestrc
  • _mm_cmpestrz
  • _mm_cmpestri
  • _mm_cmpestrm
  • _mm_cmpistra
  • _mm_cmpistro
  • _mm_cmpistrs
  • _mm_cmpistrc
  • _mm_cmpistrz
  • _mm_cmpistri
  • _mm_cmpistrm

to rustc_legacy_const_generics

Of note, these intrinsics use "const int" parameters, and I believe the intrinsic verification is currently incomplete here: the first commit ensures the verifier also checks this new list of required consts. I'm unfamiliar with the verifier, so I may be missing something here.

@rust-highfive
Copy link

r? @Amanieu

(rust-highfive has picked a reviewer for you, use r? to override)

@Amanieu Amanieu merged commit 8efa2f1 into rust-lang:master Feb 28, 2021
@lqd lqd deleted the const_generics_2_electric_boogaloo branch February 28, 2021 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants