2015-08-21 08:25:37 +08:00
|
|
|
//===-- lib/arm/aeabi_cdcmpeq_helper.c - Helper for cdcmpeq ---------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
|
|
// Source Licenses. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include <stdint.h>
|
2017-05-17 01:06:48 +08:00
|
|
|
#include "../int_lib.h"
|
2015-08-21 08:25:37 +08:00
|
|
|
|
2017-05-17 00:41:37 +08:00
|
|
|
AEABI_RTABI __attribute__((visibility("hidden")))
|
2015-08-21 08:25:37 +08:00
|
|
|
int __aeabi_cdcmpeq_check_nan(double a, double b) {
|
|
|
|
return __builtin_isnan(a) || __builtin_isnan(b);
|
|
|
|
}
|