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]

HWCAP for fsqrt vs PPC64


Guys,

We seem to be using the PPC_FEATURE_64 HWCAP to imply fsqrt support.  However, the new e5500 core from Freescale that is 64-bit does NOT implement fsqrt so this assumption is wrong:

sysdeps/powerpc/fpu/math_private.h

# if __WORDSIZE == 64 || defined _ARCH_PWR4
#  define __CPU_HAS_FSQRT 1
# else
#  define __CPU_HAS_FSQRT ((GLRO(dl_hwcap) & PPC_FEATURE_64) != 0)
# endif

Open to suggestions on how to fix this as its a kernel/libc interaction point.

- k

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