Home | History | Annotate | Line # | Download | only in i387
s_copysignf.S revision 1.2
      1  1.1  jtc /*
      2  1.2  jtc  * Written by J.T. Conklin <jtc (at) netbsd.org>.
      3  1.2  jtc  * Public domain.
      4  1.1  jtc  */
      5  1.1  jtc 
      6  1.1  jtc #include <machine/asm.h>
      7  1.1  jtc 
      8  1.2  jtc RCSID("$Id: s_copysignf.S,v 1.2 1995/04/28 22:43:56 jtc Exp $")
      9  1.1  jtc 
     10  1.1  jtc ENTRY(copysignf)
     11  1.1  jtc 	movl	8(%esp),%edx
     12  1.1  jtc 	andl	$0x80000000,%edx
     13  1.1  jtc 	movl	4(%esp),%eax
     14  1.1  jtc 	andl	$0x7fffffff,%eax
     15  1.1  jtc 	orl	%edx,%eax
     16  1.1  jtc 	movl	%eax,4(%esp)
     17  1.1  jtc 	flds	4(%esp)
     18  1.1  jtc 	ret
     19