Statistics
| Branch: | Revision:

root / fpu @ 2a2af967

Name Size
softfloat-macros.h 24.9 kB
softfloat-specialize.h 36.6 kB
softfloat.c 243.2 kB
softfloat.h 24 kB

Latest revisions

# Date Author Comment
369be8f6 10/19/2011 07:14 pm Peter Maydell

softfloat: Implement fused multiply-add

Implement fused multiply-add as a softfloat primitive. This implements
"a+b*c" as a single step without any intermediate rounding; it is
specified in IEEE 754-2008 and implemented in a number of CPUs.

Signed-off-by: Peter Maydell <>

2ac8bd03 10/01/2011 09:19 am Peter Maydell

softfloat: Reinstate accidentally disabled target-specific NaN handling

Include config.h in softfloat.c, so that the target specific ifdefs in
softfloat-specialize.h are evaluated correctly. This was accidentally
broken in commit 789ec7ce2 when config-target.h was removed from...

9f8d2a09 09/03/2011 08:47 pm Andreas Färber

softfloat: Use uint32 consistently

Prepares for uint32 replacement.

Signed-off-by: Andreas Färber <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Blue Swirl <>

38641f8f 09/03/2011 08:46 pm Andreas Färber

softfloat: Use uint16 consistently

Prepares for uint16 replacement.

Signed-off-by: Andreas Färber <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Blue Swirl <>

789ec7ce 07/29/2011 04:25 pm Paolo Bonzini

softfloat: change default nan definitions to variables

Most definitions in softfloat.h are really target-independent, but the
file is not because it includes definitions of the default NaN values.
Change those to variables to allow including softfloat.h from files that...

587eabfa 06/03/2011 05:07 pm Aurelien Jarno

softfloat: add float*_is_zero_or_denormal()

float*_is_zero_or_denormal() is available for float32, but not for
float64, floatx80 and float128. Fix that.

Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

cf67c6ba 06/03/2011 05:07 pm Aurelien Jarno

softfloat-native: remove

Remove softfloat-native support, all targets are now using softfloat
instead.

Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

be22a9ab 06/03/2011 05:07 pm Aurelien Jarno

softfloat: always enable floatx80 and float128 support

Now that softfloat-native is gone, there is no real point on not always
enabling floatx80 and float128 support.

Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

e6afc87f 05/23/2011 11:39 pm Peter Maydell

softfloat: Add new flag for when denormal result is flushed to zero

Add a new float_flag_output_denormal which is set when the result
of a floating point operation would be denormal but is flushed to
zero because we are in flush_to_zero mode. This is necessary because...

4cc5383f 04/25/2011 12:18 pm Aurelien Jarno

softfloat-native: add float*_is_any_nan() functions

Add float*_is_any_nan() functions to match the softfloat API.

Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

View revisions

Also available in: Atom