1230479Snetchild//===-- lib/negdf2.c - double-precision negation ------------------*- C -*-===// 2230479Snetchild// 3230479Snetchild// The LLVM Compiler Infrastructure 4230479Snetchild// 5230479Snetchild// This file is dual licensed under the MIT and the University of Illinois Open 6230479Snetchild// Source Licenses. See LICENSE.TXT for details. 7230479Snetchild// 8230479Snetchild//===----------------------------------------------------------------------===// 9230479Snetchild// 10230479Snetchild// This file implements double-precision soft-float negation. 11230479Snetchild// 12230479Snetchild//===----------------------------------------------------------------------===// 13230479Snetchild 14230479Snetchild#define DOUBLE_PRECISION 15230479Snetchild#include "fp_lib.h" 16230479Snetchild 17230479SnetchildARM_EABI_FNALIAS(dneg, negdf2) 18230479Snetchild 19230479Snetchildfp_t __negdf2(fp_t a) { 20230479Snetchild return fromRep(toRep(a) ^ signBit); 21230479Snetchild} 22