Closed dimpolo closed 1 year ago
Your repo links 404 for me. Is it a duplicate of #180 perhaps?
Sorry, forgot to set it to public.
Reading through that issue this is quite likely a duplicate.
Adding rustflags = [..., "-C", "target-feature=-fp"]
solved my issue.
Might I suggest to update the name of #180 to something like "miscompilation of hardware float multiplication"?
I tried this code:
repo: https://github.com/dimpolo/miscompile relevant code: https://github.com/dimpolo/miscompile/blob/cc4b61b113115887343097f9ba7df3f8ed0e9556/src/main.rs#L32-L45
I expected to see this happen: adding
--release
should not make a differenceInstead, this happened:
Meta
rustc --version --verbose
:Sorry this isn't very minimized, but the linked repo should be a good enough starting point