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: fpu/e_expl.c for i686


Andreas Jaeger <aj@suse.de> writes:

> to these removing one conditional jump:
> 1:	fldz
>         testl	$0x200, %eax	/* Test sign.  */
> 	fcmovnz %st(1),%st(0)
>         fstp	%st(1)
> 2:

Seems to be right.  This is what I had in mind.  If it passes the test
suite it should be fine.

> Changing the assembler file to an inline asm, I also have a problem
> that the inline asm can only have one exit point.  Is my
> transformation ok?

Looks like it.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


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