Fix a typo in the check for SNANs in the RX simulator.
PR target/20000 * fpu.c (check_exceptions): Fix typo checking for signalling NANs.
This commit is contained in:
parent
2cdad34c4f
commit
7881f69ee9
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2016-04-27 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR target/20000
|
||||||
|
* fpu.c (check_exceptions): Fix typo checking for signalling
|
||||||
|
NANs.
|
||||||
|
|
||||||
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
2016-01-10 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* config.in, configure: Regenerate.
|
* config.in, configure: Regenerate.
|
||||||
|
|
|
@ -433,7 +433,7 @@ check_exceptions (FP_Parts *a, FP_Parts *b, fp_t *c,
|
||||||
FP_RAISE (V);
|
FP_RAISE (V);
|
||||||
if (a->type == FP_SNAN)
|
if (a->type == FP_SNAN)
|
||||||
*c = a->orig_value | 0x00400000;
|
*c = a->orig_value | 0x00400000;
|
||||||
else if (a->type == FP_SNAN)
|
else if (b->type == FP_SNAN)
|
||||||
*c = b->orig_value | 0x00400000;
|
*c = b->orig_value | 0x00400000;
|
||||||
else
|
else
|
||||||
*c = 0x7fc00000;
|
*c = 0x7fc00000;
|
||||||
|
|
Loading…
Reference in a new issue