[PATCH] V3 msvcrt : add arm implementation for _control87
Piotr Caban
piotr.caban at gmail.com
Fri Nov 17 08:32:49 CST 2017
Hi,
On 11/17/17 15:13, Vijay Kiran Kamuju wrote:
>>> + if (fpword & 0x80) flags |= MSVCRT__EM_DENORMAL;
>>
>> As far as I can see ARM doesn't support _EM_DENORMAL. The documentation says
>> that 0x80 bit of fpword should not be modified unless you know what VFP
>> coprocessor is used. Some other bits should also not be modified (like e.g.
>> status word).
>>
> MSDN documentation says that DENORMAL flags are used on arm platform.
>
> https://msdn.microsoft.com/en-us/library/e9b52ceh.aspx
>
> ARM docs:
> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0068b/BCFHFBGA.html
> http://infocenter.arm.com/help/topic/com.arm.doc.dui0068b/BCFHECHE.html
According to that documentation it doesn't support setting trap in case
of denormalized result (or it might be specific to coprocessor). It
allows switching off denormalized computations in some cases (for
performance reasons).
Thanks,
Piotr
More information about the wine-devel
mailing list