From 740f981cfd55604d46598144dccac26dd53f643c Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Sun, 12 Jun 2011 20:27:10 -0700 Subject: [sim] renamed to riscv-isa-run --- softfloat/f64_sub.c | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100755 softfloat/f64_sub.c (limited to 'softfloat/f64_sub.c') diff --git a/softfloat/f64_sub.c b/softfloat/f64_sub.c deleted file mode 100755 index 38bd574..0000000 --- a/softfloat/f64_sub.c +++ /dev/null @@ -1,29 +0,0 @@ - -#include -#include -#include "platform.h" -#include "internals.h" -#include "softfloat.h" - -float64_t f64_sub( float64_t a, float64_t b ) -{ - union ui64_f64 uA; - uint_fast64_t uiA; - bool signA; - union ui64_f64 uB; - uint_fast64_t uiB; - bool signB; - float64_t ( *magsRoutine )( uint_fast64_t, uint_fast64_t, bool ); - - uA.f = a; - uiA = uA.ui; - signA = signF64UI( uiA ); - uB.f = b; - uiB = uB.ui; - signB = signF64UI( uiB ); - magsRoutine = - ( signA == signB ) ? softfloat_subMagsF64 : softfloat_addMagsF64; - return magsRoutine( uiA, uiB, signA ); - -} - -- cgit v1.1