|
Message-ID: <20200321170643.GI11469@brightrain.aerifal.cx> Date: Sat, 21 Mar 2020 13:06:43 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: [PATCH] math: move more x86-family fabs functions to C On Mon, Jan 06, 2020 at 11:40:30AM +0300, Alexander Monakov wrote: > diff --git a/src/math/i386/fabsf.c b/src/math/i386/fabsf.c > new file mode 100644 > index 00000000..d07be321 > --- /dev/null > +++ b/src/math/i386/fabsf.c > @@ -0,0 +1,7 @@ > +#include <math.h> > + > +float fabs(float x) ^^^^ > +{ > + __asm__ ("fabs" : "+t"(x)); > + return x; > +} Should be fabsf -- found while smoketesting. Otherwise things built ok for i386. Will followup with more results soon. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.