Displaying 1 result from an estimated 1 matches for "86b554a6".
2010 Sep 28
2
[LLVMdev] x86 rounding mode question
Hi,
Is there a recommended way to round to the nearest whole (x86 RC field of
FPU control = 00) ?
It appears an intentional truncation instruction is generated (if ms
disassembly is correct):
IRBuilder<>::CreateFPToSI
%1 = fptosi double %0 to i64
00370025 fisttp qword ptr [esp]
Thanks,
Bob
-------------- next part --------------
An HTML attachment was