[CMake] Rename add_compiler_rt_static_runtime to add_compiler_rt_runtime.
[blocksruntime.git] / lib / builtins / negdf2.c
blobd634b421cb798fedc0b7c9c49dd395e4bbd92558
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.
12 //===----------------------------------------------------------------------===//
14 #define DOUBLE_PRECISION
15 #include "fp_lib.h"
17 ARM_EABI_FNALIAS(dneg, negdf2)
19 COMPILER_RT_ABI fp_t
20 __negdf2(fp_t a) {
21 return fromRep(toRep(a) ^ signBit);