On Tue, Jan 7, 2014 at 6:46 PM, Maxence Le Doré
<maxence.led...@gmail.com> wrote:
> Indeed, this patch compiles on linux but may break complilation at
> least on MSVC version < 1400.
> I'm planing to install visual studio 2005 on a ms xp or seven virtual
> machine to check the behavior when compiling in microsoft windows
> environment.
>

I can save you the trouble: I have MSVC 2008 installed, and it does
not support fmaf. There's an effort to implement it in Cygwin here:
http://www.cygwin.com/ml/libc-alpha/2010-10/msg00007.html

However, it depends on fetestexcept(), which is also not supported.
Another implementation I found was this, which claims to be exact:
http://opensource.apple.com/source/Libm/Libm-2026/Source/ARM/fmaf.c

There's also an implementation in gnulib, but it looks quite complicated to me.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to