[PATCH] D142178: [X86] Change precision control to FP80 during u64->fp32 conversion on Windows.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 2 10:16:48 PST 2023
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/X86/uint64-to-float.ll:64
+; X86-WIN-NEXT: fldcw {{[0-9]+}}(%esp)
+; X86-WIN-NEXT: fadds __real at 5f80000000000000(,%eax,4)
+; X86-WIN-NEXT: fldcw {{[0-9]+}}(%esp)
----------------
icedrocket wrote:
> I checked the assembly generated by clang and it seems that fadds is split into fld and fadd.
That's weird. Do you have a C file you can share?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142178/new/
https://reviews.llvm.org/D142178
More information about the llvm-commits
mailing list