[PATCH 01/12] ucrtbase: Update the fenv test for non-x86 architectures
From: Martin Storsjö <martin(a)martin.st> The x86 style x87/sse split of status bits isn't present on arm64. Signed-off-by: Martin Storsjö <martin(a)martin.st> Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> --- Changes: - fixed compilation warnings in patch 1 - add _EM_DENORMAL handling to fenv_encode/fenv decode in patch 2 - temporarily mask exceptions when setting status word in patch 2 - added patches 4-12 to avoid code duplication dlls/ucrtbase/tests/misc.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
On Wed, 4 Aug 2021, Piotr Caban wrote:
From: Martin Storsjö <martin(a)martin.st>
The x86 style x87/sse split of status bits isn't present on arm64.
Signed-off-by: Martin Storsjö <martin(a)martin.st> Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> --- Changes: - fixed compilation warnings in patch 1 - add _EM_DENORMAL handling to fenv_encode/fenv decode in patch 2 - temporarily mask exceptions when setting status word in patch 2 - added patches 4-12 to avoid code duplication
Thanks! I tested the series (running the msvcr120 and ucrtbase tests for fenv stuff) on both arm and arm64, and retested the ucrtbase test on real windows on arm64, and it seems to work. // Martin
participants (2)
-
Martin Storsjö -
Piotr Caban