Fix bugs with float compare and Inf operands.
authorJim Wilson <jim.wilson@linaro.org>
Wed, 21 Dec 2016 20:33:12 +0000 (12:33 -0800)
committerJim Wilson <jim.wilson@linaro.org>
Wed, 21 Dec 2016 20:33:12 +0000 (12:33 -0800)
commit87903eafb083abbf330c22fbf941fcbad700c098
tree832a5f42fb2e2488edc7a47f8f9e23225e39c1a7
parentf0d19df99dfe1c63842206d15ae41dfd33d25bf0
Fix bugs with float compare and Inf operands.

sim/aarch64/
* simulator.c (set_flags_for_float_compare): Add code to handle Inf.
Add comment to document NaN issue.
(set_flags_for_double_compare): Likewise.

sim/testsuite/sim/aarch64/
* fcmp.s: New.
sim/aarch64/ChangeLog
sim/aarch64/simulator.c
sim/testsuite/sim/aarch64/ChangeLog
sim/testsuite/sim/aarch64/fcmp.s [new file with mode: 0644]