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

Floating point flags access #31

Open
joehendrix opened this issue Sep 16, 2019 · 0 comments
Open

Floating point flags access #31

joehendrix opened this issue Sep 16, 2019 · 0 comments

Comments

@joehendrix
Copy link
Contributor

The C standard includes rules about when floating point functions are allowed to modify floating point state, and when one may read floating point status registers. See FENV_ACCESS and FENV_ROUND in http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2346.pdf

We should inspect these rules, and ensure we generate legal LLVM when we access floating point status/control registers.

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

No branches or pull requests

1 participant