[PATCH 3/4] msvcrt: Don't use fegetenv in nearbyint.
The fegetenv/feupdateenv functions are broken in msvcr120 and are causing unintentional SSE control word changes. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> --- dlls/msvcr120/tests/msvcr120.c | 29 +++++++++++++++++++++++++++++ dlls/msvcrt/math.c | 27 ++++++++++++++++++++++----- 2 files changed, 51 insertions(+), 5 deletions(-)
Hi, While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=106647 Your paranoid android. === w1064v1809 (64 bit report) === msvcr120: msvcr120.c:1252: Test failed: cw = 8001e msvcr120.c:1253: Test failed: old_cw = 8001f, cw = 8001e === w1064 (64 bit report) === msvcr120: msvcr120.c:1252: Test failed: cw = 8001e msvcr120.c:1253: Test failed: old_cw = 8001f, cw = 8001e === w1064_2qxl (64 bit report) === msvcr120: msvcr120.c:1252: Test failed: cw = 8001e msvcr120.c:1253: Test failed: old_cw = 8001f, cw = 8001e === w1064_tsign (64 bit report) === msvcr120: msvcr120.c:1252: Test failed: cw = 8001e msvcr120.c:1253: Test failed: old_cw = 8001f, cw = 8001e === w10pro64 (64 bit report) === msvcr120: msvcr120.c:1252: Test failed: cw = 8001e msvcr120.c:1253: Test failed: old_cw = 8001f, cw = 8001e === w10pro64_ar (64 bit report) === msvcr120: msvcr120.c:1252: Test failed: cw = 8001e msvcr120.c:1253: Test failed: old_cw = 8001f, cw = 8001e === w10pro64_he (64 bit report) === msvcr120: msvcr120.c:1252: Test failed: cw = 8001e msvcr120.c:1253: Test failed: old_cw = 8001f, cw = 8001e === w10pro64_ja (64 bit report) === msvcr120: msvcr120.c:1252: Test failed: cw = 8001e msvcr120.c:1253: Test failed: old_cw = 8001f, cw = 8001e === w10pro64_zh_CN (64 bit report) === msvcr120: msvcr120.c:1252: Test failed: cw = 8001e msvcr120.c:1253: Test failed: old_cw = 8001f, cw = 8001e
participants (2)
-
Marvin -
Piotr Caban