1 //===-- lib/arm/aeabi_cfcmpeq_helper.c - Helper for cdcmpeq ---------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 #include "../int_lib.h"
13 AEABI_RTABI __attribute__((visibility("hidden")))
14 int __aeabi_cfcmpeq_check_nan(float a, float b) {
15 return __builtin_isnan(a) || __builtin_isnan(b);