diff options
author | Paul Brook <paul@codesourcery.com> | 2009-11-19 16:45:20 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-11-19 16:45:20 +0000 |
commit | 600114988cb1beede13ce29dec65398f3e62e510 (patch) | |
tree | 937055725aba7c29b402b927066333e2f8debf61 /fpu/softfloat.h | |
parent | Built network devices once (diff) | |
download | qemu-kvm-600114988cb1beede13ce29dec65398f3e62e510.tar.gz qemu-kvm-600114988cb1beede13ce29dec65398f3e62e510.tar.bz2 qemu-kvm-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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fpu/softfloat.h b/fpu/softfloat.h index 789179a6b..636591b04 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 ); |