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

Dealing with a verrou-unstable compiler intrinsic #20

Open
HadrienG2 opened this issue Oct 4, 2018 · 0 comments
Open

Dealing with a verrou-unstable compiler intrinsic #20

HadrienG2 opened this issue Oct 4, 2018 · 0 comments

Comments

@HadrienG2
Copy link
Contributor

I just discovered that the way the Rust compiler performs u64 -> f64 conversions is not stable under verrou's cool new --rounding-mode=float if the sub operation is being instrumented. Fair enough, I wouldn't really expect a cast to survive unexpected rounding occurring in the middle. The problem is that since casts are compiler intrinsics, they do not have associated symbols, so it does not seem to be possible to roll an exclude rule for them. What would you do in this kind of cases?

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