1 //===-- lib/negdf2.c - double-precision negation ------------------*- C -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements double-precision soft-float negation.
12 //===----------------------------------------------------------------------===//
14 #define DOUBLE_PRECISION
17 ARM_EABI_FNALIAS(dneg
, negdf2
)
19 fp_t
__negdf2(fp_t a
) {
20 return fromRep(toRep(a
) ^ signBit
);