Skip to content

x86 target features: make pclmulqdq imply sse2 - #132174

Merged
bors merged 1 commit into
rust-lang:masterfrom
RalfJung:pclmulqdq
Oct 26, 2024
Merged

x86 target features: make pclmulqdq imply sse2#132174
bors merged 1 commit into
rust-lang:masterfrom
RalfJung:pclmulqdq

Conversation

@RalfJung

Copy link
Copy Markdown
Member

@rustbot

Copy link
Copy Markdown
Collaborator

r? @jieyouxu

rustbot has assigned @jieyouxu.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 26, 2024
@calebzulawski

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Oct 26, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit 867640e has been approved by calebzulawski

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 26, 2024

@jieyouxujieyouxu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, r=me after PR CI is green.
EDIT: nevermind this was already r+'d 😆

("lzcnt", Stable, &[]),
("movbe", Stable, &[]),
("pclmulqdq", Stable, &[]),
("pclmulqdq", Stable, &["sse2"]),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on looking at other impls, e.g. C#'s version of this https://learn.microsoft.com/en-us/dotnet/api/system.runtime.intrinsics.x86.pclmulqdq.x64?view=net-8.0, the change looks correct to me.

Zalathar added a commit to Zalathar/rust that referenced this pull request Oct 26, 2024
@ZalatharZalathar mentioned this pull request Oct 26, 2024
jieyouxu added a commit to jieyouxu/rust that referenced this pull request Oct 26, 2024
@jieyouxujieyouxu mentioned this pull request Oct 26, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 26, 2024
Rollup of 4 pull requests
Successful merges:
- rust-lang#132124 (coverage: Consolidate creation of covmap/covfun records)
- rust-lang#132167 (Replace some LLVMRust wrappers with calls to the LLVM C API)
- rust-lang#132169 (Deny calls to non-`#[const_trait]` methods in MIR constck)
- rust-lang#132174 (x86 target features: make pclmulqdq imply sse2)
r? `@ghost`
`@rustbot` modify labels: rollup
@jieyouxujieyouxu mentioned this pull request Oct 26, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 26, 2024
Rollup of 5 pull requests
Successful merges:
- rust-lang#132124 (coverage: Consolidate creation of covmap/covfun records)
- rust-lang#132140 (Enable LSX feature for LoongArch Linux targets)
- rust-lang#132169 (Deny calls to non-`#[const_trait]` methods in MIR constck)
- rust-lang#132174 (x86 target features: make pclmulqdq imply sse2)
- rust-lang#132180 (Print unsafety of attribute in AST pretty print)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 656a2ec into rust-lang:masterOct 26, 2024
@rustbotrustbot added this to the 1.84.0 milestone Oct 26, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Oct 26, 2024
Rollup merge of rust-lang#132174 - RalfJung:pclmulqdq, r=calebzulawski
x86 target features: make pclmulqdq imply sse2
Based on comments in rust-lang/stdarch#1661Fixesrust-lang/stdarch#1661
@RalfJung
RalfJung deleted the pclmulqdq branch October 29, 2024 18:33
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

abi_unsupported_vector_types triggering in pclmulqdq (and maybe more places)

5 participants

@RalfJung@rustbot@calebzulawski@bors@jieyouxu