This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] linux: Add soft-fp folder for arm with --without-fp


Currently --without-fp does not add the soft-fp folder before
the generic dbl-64 and flt-32 on arm-linux-gnueabi.  This patch adds
the required Implies file (similar as powerpc, mips32, and
m68k-coldfire have done).

It fixes the math failures:

FAIL: math/test-double-fma
FAIL: math/test-float-double-add
FAIL: math/test-float-double-div
FAIL: math/test-float-double-mul
FAIL: math/test-float-double-sub
FAIL: math/test-float-fma
FAIL: math/test-float-ldouble-add
FAIL: math/test-float-ldouble-div
FAIL: math/test-float-ldouble-mul
FAIL: math/test-float-ldouble-sub
FAIL: math/test-float32-float32x-add
FAIL: math/test-float32-float32x-div
FAIL: math/test-float32-float32x-mul
FAIL: math/test-float32-float32x-sub
FAIL: math/test-float32-float64-add
FAIL: math/test-float32-float64-div
FAIL: math/test-float32-float64-mul
FAIL: math/test-float32-float64-sub
FAIL: math/test-float32-fma
FAIL: math/test-float32x-fma
FAIL: math/test-float64-fma
FAIL: math/test-idouble-fma
FAIL: math/test-ifloat-fma
FAIL: math/test-ifloat32-fma
FAIL: math/test-ifloat32x-fma
FAIL: math/test-ifloat64-fma
FAIL: math/test-ildouble-fma
FAIL: math/test-ldouble-fma

Since the generic fadd, fdiv, fmul, fsub, and fma routines for float
and double requires fenv support to be correctly rounded.

Checked with a arm-linux-gnueabi configured with --without-fp.
---
 sysdeps/unix/sysv/linux/arm/nofpu/Implies | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 sysdeps/unix/sysv/linux/arm/nofpu/Implies

diff --git a/sysdeps/unix/sysv/linux/arm/nofpu/Implies b/sysdeps/unix/sysv/linux/arm/nofpu/Implies
new file mode 100644
index 0000000000..c90dd7fd5c
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/arm/nofpu/Implies
@@ -0,0 +1 @@
+arm/nofpu
-- 
2.17.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]