vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

s_copysignf.S (243B)


      1 /*
      2  * Written by J.T. Conklin <jtc@netbsd.org>.
      3  * Public domain.
      4  */
      5 
      6 #include <asm.h>
      7 
      8 ENTRY(copysignf)
      9 	movl	8(%esp),%edx
     10 	andl	$0x80000000,%edx
     11 	movl	4(%esp),%eax
     12 	andl	$0x7fffffff,%eax
     13 	orl	%edx,%eax
     14 	movl	%eax,4(%esp)
     15 	flds	4(%esp)
     16 	ret