2010-07-21 16:03:44 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS system libraries
|
|
|
|
* PURPOSE: Implementation of fabs
|
|
|
|
* FILE: lib/sdk/crt/math/amd64/fabs.S
|
|
|
|
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
|
2010-11-27 22:12:15 +00:00
|
|
|
#include <asm.inc>
|
2010-07-21 16:03:44 +00:00
|
|
|
|
2011-02-10 10:30:43 +00:00
|
|
|
/* CODE **********************************************************************/
|
2010-07-21 16:03:44 +00:00
|
|
|
.code64
|
|
|
|
|
2021-02-01 18:53:13 +00:00
|
|
|
#ifdef _USE_ML
|
|
|
|
/* fabs is now allowed as label name, so create _fabs instead and alias fabs to it */
|
2011-02-10 10:30:43 +00:00
|
|
|
PUBLIC _fabs
|
|
|
|
_fabs:
|
2021-02-01 18:53:13 +00:00
|
|
|
#else
|
|
|
|
PUBLIC fabs
|
|
|
|
fabs:
|
|
|
|
#endif
|
2010-07-21 16:03:44 +00:00
|
|
|
UNIMPLEMENTED fabs
|
|
|
|
ret
|
|
|
|
|
2011-06-27 10:50:09 +00:00
|
|
|
#ifdef _USE_ML
|
|
|
|
ALIAS <fabs> = <_fabs>
|
|
|
|
#endif
|
|
|
|
|
2011-02-10 10:30:43 +00:00
|
|
|
END
|