This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: i386 fpu function rewrite


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]