fpu/softfloat: improve comments on ARM NaN propagation

Mention the pseudo-code fragment from which this is based.

Backports commit 13894527f522caab4ec74334191ef29af975e521 from qemu
This commit is contained in:
Alex Bennée 2018-03-08 10:03:30 -05:00 committed by Lioncash
parent 6eb4594f98
commit b5fdc7b411
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -448,7 +448,8 @@ static float32 commonNaNToFloat32(commonNaNT a, float_status *status)
static int pickNaN(flag aIsQNaN, flag aIsSNaN, flag bIsQNaN, flag bIsSNaN,
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)