Skip to content

Remove support for the old x86 Cranelift backend #1140

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 4 commits into from
Feb 21, 2021
Merged

Conversation

bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Feb 18, 2021

This allows the new Cranelift atomic instructions to be used that lower directly to native atomic instructions, which makes it possible to remove the ugly hack based on a global lock for all "atomic" accesses.

@bjorn3
Copy link
Member Author

bjorn3 commented Feb 18, 2021

@Uriopass Could you try if the audio issue from https://github.com/bjorn3/rustc_codegen_cranelift/issues/1129 is fixed with this?

@bjorn3
Copy link
Member Author

bjorn3 commented Feb 18, 2021

I will leave this PR open for the next couple of days in case anyone has an objection to it.

@Uriopass
Copy link
Contributor

Uriopass commented Feb 19, 2021

Sadly the audio issues are still present with this PR :/ I'll dive a bit more to find the root cause.
Native atomics are still good though :D

EDIT: finally succeeded in making a minimal example:
#1142

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.

2 participants