[PATCH] D141074: [X86] Avoid converting 64-bit integers to floating point using x87 on Windows

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 15:04:09 PST 2023


lebedev.ri added a comment.

In D141074#4037831 <https://reviews.llvm.org/D141074#4037831>, @icedrocket wrote:

> If SSE2 is available, we only need to use library calls to convert between 64-bit integers and floating point. However, if only x87 is available, precision issues are unavoidable. What I meant was to just use the x87 implementation and print a warning in this case.

Why are they unavoidable?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141074/new/

https://reviews.llvm.org/D141074



More information about the llvm-commits mailing list