]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/blob - contrib/compiler-rt/lib/negdf2.c
Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
[FreeBSD/releng/9.0.git] / contrib / compiler-rt / lib / negdf2.c
1 //===-- lib/negdf2.c - double-precision negation ------------------*- C -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements double-precision soft-float negation.
11 //
12 //===----------------------------------------------------------------------===//
13 #include "abi.h"
14
15 #define DOUBLE_PRECISION
16 #include "fp_lib.h"
17
18 ARM_EABI_FNALIAS(dneg, negdf2);
19
20 fp_t __negdf2(fp_t a) {
21     return fromRep(toRep(a) ^ signBit);
22 }