Ensure floating point comparisons with NaN are unordered (always return FALSE except for !=). On ARM this is just a matter of using the right condition codes (cc in PSR has different meaning when set from the FPSCR after a floating point comparison).