diff mbox

[AArch64] Add fenv test support for AArch64

Message ID 000001cf5271$1f7b2560$5e717020$@bolton@arm.com
State Committed
Headers show

Commit Message

Ian Bolton April 7, 2014, 2:53 p.m. UTC
This is a simple patch for AArch64 that builds on Wilco's patch:
https://sourceware.org/ml/libc-alpha/2014-03/msg00592.html

The math/test-fenv test now passes with this.

OK for commit once Wilco's patch is in?

Cheers,
Ian


2014-04-07  Ian Bolton  <ian.bolton@arm.com>

	* sysdeps/aarch64/math-tests.h: New file.
diff mbox

Patch

diff --git a/sysdeps/aarch64/math-tests.h b/sysdeps/aarch64/math-tests.h
new file mode 100644
index 0000000..febfad7
--- /dev/null
+++ b/sysdeps/aarch64/math-tests.h
@@ -0,0 +1,22 @@ 
+/* Configuration for math tests.  AArch64 version.
+   Copyright (C) 2014 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
+   <http://www.gnu.org/licenses/>.  */
+
+/* Trapping exceptions are optional on AArch64.  */
+#define EXCEPTION_ENABLE_SUPPORTED(EXCEPT)	((EXCEPT) == 0)
+
+#include_next <math-tests.h>