diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2013-02-15 17:40:08 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2013-02-15 17:40:08 -0500 |
commit | db5c478e707ba5c7ffe8713ece5534924208500a (patch) | |
tree | 2b9534a2915e78032cd15d529e0158324d12791f /src/arch/arm/ArmNativeTrace.py | |
parent | 44120460411b97bf084fb24a669bd5e600601cb5 (diff) | |
download | gem5-db5c478e707ba5c7ffe8713ece5534924208500a.tar.xz |
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.
Diffstat (limited to 'src/arch/arm/ArmNativeTrace.py')
0 files changed, 0 insertions, 0 deletions