Searched hist:9517 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/arch/arm/isa/insts/
H A Dneon.isadiff 9517:5ffb5e5c93b4 Fri Feb 15 17:40:00 EST 2013 Ali Saidi <Ali.Saidi@ARM.com> arm: fix some fp comparisons that worked by accident.

The explict tests in the follwing fp comparison operations were
incorrect as they checked for only signaling NaNs and not quite-NaNs
as well. When compiled with gcc, the comparison generates a fp exception
that causes the FE_INVALID flag to be set and we check for it, so even
though the check was incorrect, the correct exception was set. With clang
this behavior seems to not occur. The checks are updated to test for nans and
the behavior is now correct with both clang and gcc.

Completed in 5 milliseconds