| Issue |
60942
|
| Summary |
Basic floating-point operations are underspecified
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
Muon
|
Currently, the LangRef does not specify the results of basic floating-point operations (`fadd`, `fsub`, `fmul`, `fdiv`) in any detail. APFloat uses IEEE 754 semantics, but the LangRef does not guarantee it. What guarantees are there about the behavior of floating-point code? If IEEE 754 is the intended model, then x87 codegen is completely broken and probably other targets. If not IEEE 754, then what is the intended model?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs