[Mesa-dev] [PATCH 5/9] tgsi: implement micro_fma() in tgsi exec machine
Erik Faye-Lund
kusmabite at gmail.com
Tue Jan 7 11:29:50 PST 2014
On Tue, Jan 7, 2014 at 6:46 PM, Maxence Le Doré
<maxence.ledore at 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.
More information about the mesa-dev
mailing list