summaryrefslogtreecommitdiff
path: root/emfloat.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-14 16:05:23 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-14 16:05:23 +0000
commit72461d67f64bb7c0738ccff003b66285885895dc (patch)
tree2914ea3c0019c28c444dbd48aec4ace133703577 /emfloat.h
parent6da6277b77b5de3fa874ffd1989ef59a67ef39dd (diff)
-- Fix lots of prototypes
-- Move functions with no dependencies from emfloat.c to fpemulation.c git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@34 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'emfloat.h')
-rw-r--r--emfloat.h34
1 files changed, 4 insertions, 30 deletions
diff --git a/emfloat.h b/emfloat.h
index 59dc809..8290da8 100644
--- a/emfloat.h
+++ b/emfloat.h
@@ -94,33 +94,7 @@ typedef struct
/*
** PROTOTYPES
*/
-void SetupCPUEmFloatArrays(InternalFPF *abase,
- InternalFPF *bbase, InternalFPF *cbase, unsigned long arraysize);
-unsigned long DoEmFloatIteration(InternalFPF *abase,
- InternalFPF *bbase, InternalFPF *cbase,
- unsigned long arraysize, unsigned long loops);
-static void SetInternalFPFZero(InternalFPF *dest,
- unsigned char sign);
-static void SetInternalFPFInfinity(InternalFPF *dest,
- unsigned char sign);
-static void SetInternalFPFNaN(InternalFPF *dest);
-static int IsMantissaZero(uint16_t *mant);
-static void Add16Bits(uint16_t *carry,uint16_t *a,uint16_t b,uint16_t c);
-static void Sub16Bits(uint16_t *borrow,uint16_t *a,uint16_t b,uint16_t c);
-static void ShiftMantLeft1(uint16_t *carry,uint16_t *mantissa);
-static void ShiftMantRight1(uint16_t *carry,uint16_t *mantissa);
-static void StickyShiftRightMant(InternalFPF *ptr,int amount);
-static void normalize(InternalFPF *ptr);
-static void denormalize(InternalFPF *ptr,int minimum_exponent);
-void RoundInternalFPF(InternalFPF *ptr);
-static void choose_nan(InternalFPF *x,InternalFPF *y,InternalFPF *z,
- int intel_flag);
-static void AddSubInternalFPF(unsigned char operation,InternalFPF *x,
- InternalFPF *y,InternalFPF *z);
-static void MultiplyInternalFPF(InternalFPF *x,InternalFPF *y,
- InternalFPF *z);
-static void DivideInternalFPF(InternalFPF *x,InternalFPF *y,
- InternalFPF *z);
-/* static void LongToInternalFPF(long mylong, */
-static void Int32ToInternalFPF(int32_t mylong,
- InternalFPF *dest);
+void AddSubInternalFPF(unsigned char operation,InternalFPF *x, InternalFPF *y, InternalFPF *z);
+void MultiplyInternalFPF(InternalFPF *x,InternalFPF *y, InternalFPF *z);
+void DivideInternalFPF(InternalFPF *x,InternalFPF *y, InternalFPF *z);
+void Int32ToInternalFPF(int32_t mylong, InternalFPF *dest);