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

icedrocket via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 10:34:34 PST 2023


icedrocket marked an inline comment as done.
icedrocket added a comment.

In D141074#4032006 <https://reviews.llvm.org/D141074#4032006>, @craig.topper wrote:

> In D141074#4031999 <https://reviews.llvm.org/D141074#4031999>, @icedrocket wrote:
>
>> Add the `pc80` option. There may be other suitable candidate names for this option, but I used the name from Intel ICC. The current implementation only applies to conversions from 64-bit integers to floating point.
>
> The icc options injects code into `main` to set the PC. (Kind of ignoring that global constructors that run before main exist).

The option I added just tells the compiler that the precision control will always be set to 64-bit.


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

https://reviews.llvm.org/D141074



More information about the llvm-commits mailing list