reactos/sdk/lib/crt/math/amd64/fabs.S
Hervé Poussineau bbf7b5b72a [CRT/x64] Correctly implement fabs for GCC
Note that MSVC does not recognize 'fabs' as a valid label name.
See fee844b6ff and 2f7cf157d8
2021-02-01 19:57:12 +01:00

32 lines
699 B
ArmAsm

/*
* 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 ******************************************************************/
#include <asm.inc>
/* CODE **********************************************************************/
.code64
#ifdef _USE_ML
/* fabs is now allowed as label name, so create _fabs instead and alias fabs to it */
PUBLIC _fabs
_fabs:
#else
PUBLIC fabs
fabs:
#endif
UNIMPLEMENTED fabs
ret
#ifdef _USE_ML
ALIAS <fabs> = <_fabs>
#endif
END