[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 1/5] softfloat: make float_muladd_negate_* flags
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [PATCH v2 1/5] softfloat: make float_muladd_negate_* flags independent |
Date: |
Tue, 11 Sep 2012 20:47:09 +0200 |
From: Max Filippov <address@hidden>
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.
Cc: Alexander Graf <address@hidden>
Cc: Peter Maydell <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Max Filippov <address@hidden>
---
fpu/softfloat.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
};
/*----------------------------------------------------------------------------
--
1.7.10.4
- [Qemu-devel] [PATCH v2 0/5] target-ppc: get rid of manual NaN handling in vector functions, Aurelien Jarno, 2012/09/11
- [Qemu-devel] [PATCH v2 5/5] target-ppc: get rid of the HANDLE_NAN{1, 2, 3} macros, Aurelien Jarno, 2012/09/11
- [Qemu-devel] [PATCH v2 1/5] softfloat: make float_muladd_negate_* flags independent,
Aurelien Jarno <=
- [Qemu-devel] [PATCH v2 4/5] target-ppc: use the softfloat float32_muladd function, Aurelien Jarno, 2012/09/11
- [Qemu-devel] [PATCH v2 3/5] target-ppc: use the softfloat min/max functions, Aurelien Jarno, 2012/09/11
- [Qemu-devel] [PATCH v2 2/5] target-ppc: simplify NaN propagation for vector functions, Aurelien Jarno, 2012/09/11