[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 09/22] fpu/softfloat: improve comments on ARM NaN pro
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL 09/22] fpu/softfloat: improve comments on ARM NaN propagation |
Date: |
Wed, 21 Feb 2018 11:05:09 +0000 |
Mention the pseudo-code fragment from which this is based.
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
diff --git a/fpu/softfloat-specialize.h b/fpu/softfloat-specialize.h
index de2c5d5702..4be0fb21ba 100644
--- a/fpu/softfloat-specialize.h
+++ b/fpu/softfloat-specialize.h
@@ -445,9 +445,10 @@ static float32 commonNaNToFloat32(commonNaNT a,
float_status *status)
#if defined(TARGET_ARM)
static int pickNaN(flag aIsQNaN, flag aIsSNaN, flag bIsQNaN, flag bIsSNaN,
- flag aIsLargerSignificand)
+ flag aIsLargerSignificand)
{
- /* ARM mandated NaN propagation rules: take the first of:
+ /* ARM mandated NaN propagation rules (see FPProcessNaNs()), take
+ * the first of:
* 1. A if it is signaling
* 2. B if it is signaling
* 3. A (quiet)
--
2.15.1
- [Qemu-devel] [PULL 01/22] fpu/softfloat: implement float16_squash_input_denormal, (continued)
- [Qemu-devel] [PULL 01/22] fpu/softfloat: implement float16_squash_input_denormal, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 03/22] fpu/softfloat-types: new header to prevent excessive re-builds, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 02/22] include/fpu/softfloat: remove USE_SOFTFLOAT_STRUCT_TYPES, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 06/22] include/fpu/softfloat: implement float16_chs helper, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 05/22] include/fpu/softfloat: implement float16_abs helper, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 07/22] include/fpu/softfloat: implement float16_set_sign helper, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 10/22] fpu/softfloat: move the extract functions to the top of the file, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 04/22] target/*/cpu.h: remove softfloat.h, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 19/22] fpu/softfloat: re-factor scalbn, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 08/22] include/fpu/softfloat: add some float16 constants, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 09/22] fpu/softfloat: improve comments on ARM NaN propagation,
Alex Bennée <=
- [Qemu-devel] [PULL 12/22] fpu/softfloat: re-factor add/sub, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 16/22] fpu/softfloat: re-factor round_to_int, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 21/22] fpu/softfloat: re-factor compare, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 11/22] fpu/softfloat: define decompose structures, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 13/22] fpu/softfloat: re-factor mul, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 14/22] fpu/softfloat: re-factor div, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 22/22] fpu/softfloat: re-factor sqrt, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 17/22] fpu/softfloat: re-factor float to int/uint, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 18/22] fpu/softfloat: re-factor int/uint to float, Alex Bennée, 2018/02/21
- [Qemu-devel] [PULL 15/22] fpu/softfloat: re-factor muladd, Alex Bennée, 2018/02/21