1214152Sed//===-- lib/negsf2.c - single-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 single-precision soft-float negation.
11214152Sed//
12214152Sed//===----------------------------------------------------------------------===//
13214152Sed
14214152Sed#define SINGLE_PRECISION
15214152Sed#include "fp_lib.h"
16214152Sed
17239138SandrewARM_EABI_FNALIAS(fneg, negsf2)
18222656Sed
19222656SedCOMPILER_RT_ABI fp_t
20222656Sed__negsf2(fp_t a) {
21214152Sed    return fromRep(toRep(a) ^ signBit);
22214152Sed}
23