1214152Sed//===-- lib/negdf2.c - double-precision negation ------------------*- C -*-===// 2214152Sed// 3214152Sed// The LLVM Compiler Infrastructure 4214152Sed// 5222656Sed// This file is dual licensed under the MIT and the University of Illinois Open 6222656Sed// Source Licenses. See LICENSE.TXT for details. 7214152Sed// 8214152Sed//===----------------------------------------------------------------------===// 9214152Sed// 10214152Sed// This file implements double-precision soft-float negation. 11214152Sed// 12214152Sed//===----------------------------------------------------------------------===// 13214152Sed 14214152Sed#define DOUBLE_PRECISION 15214152Sed#include "fp_lib.h" 16214152Sed 17239138SandrewARM_EABI_FNALIAS(dneg, negdf2) 18222656Sed 19214152Sedfp_t __negdf2(fp_t a) { 20214152Sed return fromRep(toRep(a) ^ signBit); 21214152Sed} 22