aboutsummaryrefslogtreecommitdiffstats
path: root/fpu/softfloat.h
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2010-09-09 17:41:26 +0200
committerDavid 'Digit' Turner <digit@android.com>2010-09-13 00:30:33 -0700
commit2738c26579c211c46eedf84a4e61c73243551888 (patch)
tree370700c8080dc17975b358725343ed0181ee42eb /fpu/softfloat.h
parentdb04eec3cde8407f7c9010c3d2197f83b0da0e82 (diff)
downloadexternal_qemu-2738c26579c211c46eedf84a4e61c73243551888.zip
external_qemu-2738c26579c211c46eedf84a4e61c73243551888.tar.gz
external_qemu-2738c26579c211c46eedf84a4e61c73243551888.tar.bz2
upstream: softfloat changes.
Diffstat (limited to 'fpu/softfloat.h')
-rw-r--r--fpu/softfloat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index 636591b..9528825 100644
--- a/fpu/softfloat.h
+++ b/fpu/softfloat.h
@@ -275,6 +275,7 @@ float32 float32_mul( float32, float32 STATUS_PARAM );
float32 float32_div( float32, float32 STATUS_PARAM );
float32 float32_rem( float32, float32 STATUS_PARAM );
float32 float32_sqrt( float32 STATUS_PARAM );
+float32 float32_exp2( float32 STATUS_PARAM );
float32 float32_log2( float32 STATUS_PARAM );
int float32_eq( float32, float32 STATUS_PARAM );
int float32_le( float32, float32 STATUS_PARAM );
@@ -315,6 +316,7 @@ INLINE int float32_is_zero(float32 a)
#define float32_zero make_float32(0)
#define float32_one make_float32(0x3f800000)
+#define float32_ln2 make_float32(0x3f317218)
/*----------------------------------------------------------------------------
| Software IEC/IEEE double-precision conversion routines.
@@ -386,6 +388,7 @@ INLINE int float64_is_zero(float64 a)
#define float64_zero make_float64(0)
#define float64_one make_float64(0x3ff0000000000000LL)
+#define float64_ln2 make_float64(0x3fe62e42fefa39efLL)
#ifdef FLOATX80