aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arc/nofpu/math-tests-exceptions.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2018-10-24 14:22:54 -0700
committerVineet Gupta <vgupta@synopsys.com>2020-07-10 16:08:44 -0700
commitfd9dec20c8f53383ffdc9fb259f5529d85f5cf24 (patch)
tree9ef2226197555d4a3863a297a87ca120bf501eb3 /sysdeps/arc/nofpu/math-tests-exceptions.h
parent9679dd5ecdf46fc697b287ec5cba0c4dc9a7afa7 (diff)
downloadglibc-fd9dec20c8f53383ffdc9fb259f5529d85f5cf24.zip
glibc-fd9dec20c8f53383ffdc9fb259f5529d85f5cf24.tar.gz
glibc-fd9dec20c8f53383ffdc9fb259f5529d85f5cf24.tar.bz2
ARC: math soft float support
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/arc/nofpu/math-tests-exceptions.h')
-rw-r--r--sysdeps/arc/nofpu/math-tests-exceptions.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sysdeps/arc/nofpu/math-tests-exceptions.h b/sysdeps/arc/nofpu/math-tests-exceptions.h
new file mode 100644
index 0000000..b2a712c
--- /dev/null
+++ b/sysdeps/arc/nofpu/math-tests-exceptions.h
@@ -0,0 +1,27 @@
+/* Configuration for math tests. Exceptions support ARC version.
+ Copyright (C) 2020 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#ifndef ARC_NOFPU_MATH_TESTS_EXCEPTIONS_H
+#define ARC_NOFPU_MATH_TESTS_EXCEPTIONS_H 1
+
+/* Soft-float does not support exceptions. */
+#define EXCEPTION_TESTS_float 0
+#define EXCEPTION_TESTS_double 0
+#define EXCEPTION_TESTS_long_double 0
+
+#endif