[PATCH] D142178: [X86][WIP] 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 Jan 19 22:31:28 PST 2023
craig.topper created this revision.
craig.topper added reviewers: icedrocket, RKSimon, lebedev.ri.
Herald added subscribers: StephenFan, pengfei, hiraditya.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added a project: LLVM.
This is an alternative to D141074 <https://reviews.llvm.org/D141074> to fix the problem by adjusting
the precision control dynamically.
This isn't quite complete yet. I want to support fadd with an load
folded into it too. That's the code we will usually generate.
Posting for early review so we can do some testing of this solution.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142178
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h
llvm/lib/Target/X86/X86InstrFPStack.td
llvm/test/CodeGen/X86/uint64-to-float.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142178.490720.patch
Type: text/x-patch
Size: 9281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230120/347fbd44/attachment-0001.bin>
More information about the llvm-commits
mailing list