summaryrefslogtreecommitdiff
path: root/fpu/softfloat.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-11-19 16:45:20 +0000
committerPaul Brook <paul@codesourcery.com>2009-11-19 16:45:20 +0000
commit600114988cb1beede13ce29dec65398f3e62e510 (patch)
tree937055725aba7c29b402b927066333e2f8debf61 /fpu/softfloat.h
parentf165b53a896975f6c45760d72f87e44f1a2ba325 (diff)
downloadqemu-600114988cb1beede13ce29dec65398f3e62e510.zip
ARM FP16 support
Implement the ARM VFP half precision floating point extensions. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'fpu/softfloat.h')
-rw-r--r--fpu/softfloat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index 789179a6b2..636591b04c 100644
--- a/fpu/softfloat.h
+++ b/fpu/softfloat.h
@@ -243,6 +243,12 @@ float128 int64_to_float128( int64_t STATUS_PARAM );
#endif
/*----------------------------------------------------------------------------
+| Software half-precision conversion routines.
+*----------------------------------------------------------------------------*/
+bits16 float32_to_float16( float32, flag STATUS_PARAM );
+float32 float16_to_float32( bits16, flag STATUS_PARAM );
+
+/*----------------------------------------------------------------------------
| Software IEC/IEEE single-precision conversion routines.
*----------------------------------------------------------------------------*/
int float32_to_int32( float32 STATUS_PARAM );