mbox series

[0/3] softfloat: FloatRelation cleanups

Message ID 20220401132240.79730-1-richard.henderson@linaro.org
Headers show
Series softfloat: FloatRelation cleanups | expand

Message

Richard Henderson April 1, 2022, 1:22 p.m. UTC
Make consistent use of FloatRelation throughout the
implementation of the float compare functions.

I don't yet know if this actually solves Coverity issues,
but they all look a bit cleaner, I think.

r~

Richard Henderson (3):
  softfloat: Fix declaration of partsN_compare
  softfloat: Use FloatRelation within partsN_compare
  softfloat: Use FloatRelation for fracN_cmp

 fpu/softfloat.c           | 20 +++++++++++---------
 fpu/softfloat-parts.c.inc | 11 +++++++----
 2 files changed, 18 insertions(+), 13 deletions(-)

Comments

Richard Henderson April 27, 2022, 3:02 a.m. UTC | #1
On 4/1/22 06:22, Richard Henderson wrote:
> Make consistent use of FloatRelation throughout the
> implementation of the float compare functions.
> 
> I don't yet know if this actually solves Coverity issues,
> but they all look a bit cleaner, I think.
> 
> r~
> 
> Richard Henderson (3):
>    softfloat: Fix declaration of partsN_compare
>    softfloat: Use FloatRelation within partsN_compare
>    softfloat: Use FloatRelation for fracN_cmp
> 
>   fpu/softfloat.c           | 20 +++++++++++---------
>   fpu/softfloat-parts.c.inc | 11 +++++++----
>   2 files changed, 18 insertions(+), 13 deletions(-)
> 

Queuing to tcg-next.


r~