negsf2.c revision 214152
1214152Sed//===-- lib/negsf2.c - single-precision negation ------------------*- C -*-===// 2214152Sed// 3214152Sed// The LLVM Compiler Infrastructure 4214152Sed// 5214152Sed// This file is distributed under the University of Illinois Open Source 6214152Sed// License. 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 17214152Sedfp_t __negsf2(fp_t a) { 18214152Sed return fromRep(toRep(a) ^ signBit); 19214152Sed} 20