Skip to content

deprecate read/write eflags #494

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

Merged
merged 1 commit into from
Jun 27, 2018
Merged

Conversation

gnzlbg
Copy link
Contributor

@gnzlbg gnzlbg commented Jun 23, 2018

This deprecates __{read,write}eflags.

@rust-lang rust-lang deleted a comment Jun 24, 2018
@rust-lang rust-lang deleted a comment Jun 24, 2018
@gnzlbg gnzlbg force-pushed the deprecate_eflags branch from 85d3295 to a7fcdd6 Compare June 25, 2018 08:19
@gnzlbg gnzlbg force-pushed the deprecate_eflags branch 2 times, most recently from cfe0363 to 2cf8650 Compare June 26, 2018 13:27
@gnzlbg gnzlbg force-pushed the deprecate_eflags branch 2 times, most recently from 89dcee9 to 4b7f75f Compare June 26, 2018 14:28
@gnzlbg gnzlbg force-pushed the deprecate_eflags branch from 4b7f75f to b0067f3 Compare June 26, 2018 18:52
@gnzlbg
Copy link
Contributor Author

gnzlbg commented Jun 26, 2018

Which rust version belongs exactly to the deprecation attribute? It might hit nightly in the next weeks, so it should be two stable versions from now (1.29) right?

@BurntSushi
Copy link
Member

At a high level this LGTM, but I don't know enough about the particulars of how exactly things are deprecated to feel comfortable signing off on this.

cc @rust-lang-nursery/libs @alexcrichton

@gnzlbg gnzlbg requested a review from alexcrichton June 27, 2018 16:41
@alexcrichton
Copy link
Member

FWIW these are covered by this block during verification which is why they passed through to stable without actually being defined by Intel.

I think it's a compelling enough argument to deprecate these intrinsics currently and we can always undeprecate if we really need to (or if some LLVM "bug" is fixed or something like that)

Thanks for the PR @gnzlbg!

@alexcrichton alexcrichton merged commit f9f649a into rust-lang:master Jun 27, 2018
TheIronBorn pushed a commit to TheIronBorn/stdsimd that referenced this pull request Jun 29, 2018
TheIronBorn pushed a commit to TheIronBorn/stdsimd that referenced this pull request Jun 29, 2018
lu-zero pushed a commit to lu-zero/stdarch that referenced this pull request Jul 10, 2018
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