mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-08 13:28:05 +00:00
9235ed7199
In this specific case, Valgrind won't get confused when analyzing such functions. Sponsored by: Sandvine Incorporated Tested by: emaste MFC: 3 days
21 lines
364 B
ArmAsm
21 lines
364 B
ArmAsm
/*
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <machine/asm.h>
|
|
|
|
__FBSDID("$FreeBSD$");
|
|
/* RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $") */
|
|
|
|
ENTRY(copysignf)
|
|
movl 8(%esp),%edx
|
|
andl $0x80000000,%edx
|
|
movl 4(%esp),%eax
|
|
andl $0x7fffffff,%eax
|
|
orl %edx,%eax
|
|
movl %eax,4(%esp)
|
|
flds 4(%esp)
|
|
ret
|
|
END(copysignf)
|