2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
7 * Written by J.T. Conklin <jtc@netbsd.org>.
8 * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
11 #include <_mingw_mac.h>
21 .globl __MINGW_USYMBOL(copysignl)
22 .def __MINGW_USYMBOL(copysignl); .scl 2; .type 32; .endef
23 __MINGW_USYMBOL(copysignl):
24 #if defined(_AMD64_) || defined(__x86_64__)
35 #elif defined(_ARM_) || defined(__arm__)
38 bmi 1f /* jump if d1 is negative */
41 vnegmi.f64 d0, d0 /* negate d0 if it is negative */
45 vnegpl.f64 d0, d0 /* negate d0 if it is positive */
47 #elif defined(_X86_) || defined(__i386__)