[PATCH] msvcrt: Call cdecl functions with empty FPU stack in _CI* functions
27 Nov
2017
27 Nov
'17
1:34 p.m.
The FPU stack should be empty on cdecl function call. Failing to do so breaks GCC 6.4.0 -O2 optimized code. New code is still calling cdecl functions with non empty FPU stack. Is it better to reimplement _CI* functions in assembler? For bug #43940. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> --- dlls/msvcrt/math.c | 123 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 69 insertions(+), 54 deletions(-)
2946
Age (days ago)
2946
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alexandre Julliard -
Piotr Caban