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

Implement pause support for RISC-V #65

Merged
merged 2 commits into from
Jan 15, 2024
Merged

Conversation

@XieJiSS
Copy link
Contributor Author

XieJiSS commented Oct 24, 2023

Note that there could be situations that the code is compiled with -march=..._zihintpause but get executed on a machine which does not support the hint. In such cases, pause (and .4byte 0x100000F) would be interpreted as fence w, 0. fence w, 0 is pause for Zihintpause and nop for other machines, so this will not cause SIGILL.

@Lastique Lastique merged commit 62c5ff9 into boostorg:develop Jan 15, 2024
44 of 45 checks passed
@Lastique
Copy link
Member

Thank you.

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