This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: i386 fpu function rewrite
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: i386 fpu function rewrite
- From: Jakub Jelinek <jakub at redhat dot com>
- Date: Sat, 5 May 2001 20:33:50 +0200
- Cc: libc-alpha at sources dot redhat dot com, Jan Hubicka <jh at suse dot cz>
- References: <u8pudnbrdt.fsf@gromit.rhein-neckar.de>
- Reply-To: Jakub Jelinek <jakub at redhat dot com>
On Sat, May 05, 2001 at 08:08:30PM +0200, Andreas Jaeger wrote:
> asm ("fld %%st /* x : x */
> fmul %%st(0) /* x^2 : x */
> fld1 /* 1 : x^2 : x */
> fsubp /* 1 - x^2 : x */
> fsqrt /* sqrt (1 - x^2) : x */
> fxch %%st(1) /* x : sqrt (1 - x^2) */
> fpatan /* atan (sqrt(1 - x^2) / x) */"
> : "=t" (res) : "0" (x) : "st(1)");
Now that gcc deprecates multi-line string literals you probably should either
use \n\ or make it a bunch of one line strings contatenated together.
Jakub