I would like to add a patch for math/fpclassify.c:

--- mingw-w64/mingw-w64-crt/math/fpclassify.c    2015-06-05
10:13:07.997781400 +0200
+++ mingw-w64/mingw-w64-crt/math/fpclassify.c    mingwpy working copy
@@ -17,7 +17,6 @@ and sets C1 flag (signbit) if neg */

 int __fpclassify (double _x)
 {
-#if defined(__x86_64__) || defined(_AMD64_) || defined(__arm__) ||
defined(_ARM_)
     __mingw_dbl_type_t hlp;
     unsigned int l, h;

@@ -32,13 +31,4 @@ int __fpclassify (double _x)
     if (h == 0x7ff00000)
       return (l ? FP_NAN : FP_INFINITE);
     return FP_NORMAL;
-#elif defined(__i386__) || defined(_X86_)
-  unsigned short sw;
-  __asm__ __volatile__ (
-    "fxam; fstsw %%ax;"
-    : "=a" (sw)
-    : "t" (_x)
-    );
-  return sw & (FP_NAN | FP_NORMAL | FP_ZERO);
-#endif
 }

Due to the bug https://sourceforge.net/p/mingw-w64/bugs/367   __fpclassify
(double _x) never worked for doubles on 32 bit (__i386__  _X86_). It does
work using the 64 bit path in the if clause at least for me. So this patch
simply removes the differentiation between 32 bit and 64 bit.

Carl


2016-02-23 6:28 GMT+01:00 Martell Malone <martellmal...@gmail.com>:

> Hey JonY,
>
> I think I have a few arm patches that I submitted that should be merged
> before the branch.
> I'll check and commit them it if they weren't committed already.
> If not I will submit in the morning.
> They are only small changes but would be great to not miss the branch.
>
> Kind Regards
> Martell
>
> On Mon, Feb 22, 2016 at 2:49 AM, Ismail Donmez <ism...@i10z.com> wrote:
>
>> Hi,
>>
>> JonY <jon_y@...> writes:
>>
>> >
>> > Hello developers,
>> >
>> > Do you have anything important to commit before I branch v5.x off
>> master?
>> >
>> > There is also going to be another v4.x bugfix release soon for those who
>> > want stability.
>>
>> Just one reminder, please also release a zip file for Windows people as we
>> previously discussed.
>>
>> Many thanks.
>>
>> ismail
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> _______________________________________________
>> Mingw-w64-public mailing list
>> Mingw-w64-public@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to