]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
softfloat: make float_muladd_negate_* flags independent
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 19 Sep 2012 00:23:50 +0000 (04:23 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 22 Sep 2012 17:59:12 +0000 (17:59 +0000)
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 <jcmvbkbc@gmail.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
fpu/softfloat.h

index feec3a180e0ef2501be7f9da0a5b0e353b2e4e72..2860ca0175320fb20c03cd1aac5e18e3cd945954 100644 (file)
@@ -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,
 };
 
 /*----------------------------------------------------------------------------