From: Max Filippov Date: Wed, 19 Sep 2012 00:23:50 +0000 (+0400) Subject: softfloat: make float_muladd_negate_* flags independent X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=66176802960ad1f7c3d061d17b784088c2e28d59;p=qemu.git softfloat: make float_muladd_negate_* flags independent Flags passed into float{32,64}_muladd are treated as bits; assign independent bits to float_muladd_negate_* to allow precise control over what gets negated in float{32,64}_muladd. Signed-off-by: Max Filippov Reviewed-by: Aurelien Jarno Signed-off-by: Blue Swirl --- diff --git a/fpu/softfloat.h b/fpu/softfloat.h index feec3a180e..2860ca0175 100644 --- a/fpu/softfloat.h +++ b/fpu/softfloat.h @@ -219,7 +219,7 @@ void float_raise( int8 flags STATUS_PARAM); enum { float_muladd_negate_c = 1, float_muladd_negate_product = 2, - float_muladd_negate_result = 3, + float_muladd_negate_result = 4, }; /*----------------------------------------------------------------------------