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

icedrocket via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 14 23:57:27 PST 2023


icedrocket added a comment.

I'm not sure why the result depends on the x87 control word, but the possibility exists because of the rounding mode.
The conversion from f64 to f32 is typically done using round to nearest, and the target to round can differ between u64 and u64 to f64.


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

https://reviews.llvm.org/D141074



More information about the llvm-commits mailing list