2015-08-21 08:25:37 +08:00
|
|
|
//===-- lib/arm/aeabi_cdcmpeq_helper.c - Helper for cdcmpeq ---------------===//
|
|
|
|
//
|
2019-01-19 18:56:40 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2015-08-21 08:25:37 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2017-05-17 01:06:48 +08:00
|
|
|
#include "../int_lib.h"
|
2019-04-29 05:53:32 +08:00
|
|
|
#include <stdint.h>
|
2015-08-21 08:25:37 +08:00
|
|
|
|
2019-04-29 05:53:32 +08:00
|
|
|
AEABI_RTABI __attribute__((visibility("hidden"))) int
|
|
|
|
__aeabi_cdcmpeq_check_nan(double a, double b) {
|
|
|
|
return __builtin_isnan(a) || __builtin_isnan(b);
|
2015-08-21 08:25:37 +08:00
|
|
|
}
|