diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2012-09-19 04:23:50 +0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-09-22 17:59:12 +0000 |
commit | 66176802960ad1f7c3d061d17b784088c2e28d59 (patch) | |
tree | fc4a4b0f11fd7a3dfd2e69ae2719fda13993c398 /fpu | |
parent | e809c0dc70522cba07dc2f16f677d1adf01523fc (diff) | |
download | qemu-66176802960ad1f7c3d061d17b784088c2e28d59.zip qemu-66176802960ad1f7c3d061d17b784088c2e28d59.tar.gz qemu-66176802960ad1f7c3d061d17b784088c2e28d59.tar.bz2 |
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 <jcmvbkbc@gmail.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'fpu')
-rw-r--r-- | fpu/softfloat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpu/softfloat.h b/fpu/softfloat.h index feec3a1..2860ca0 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, }; /*---------------------------------------------------------------------------- |