diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-04-14 05:51:51 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-04-14 05:51:51 +0000 |
commit | 433f49c4020279045b53d5f352d48a66aed9a970 (patch) | |
tree | a546396ee13d45b0e79e3baacdf87cf6ea144094 /sysdeps/powerpc/fpu/e_sqrt.c | |
parent | 70e228a7b731ef7a45cd8e05cb1fe69c51e50fa8 (diff) | |
download | glibc-433f49c4020279045b53d5f352d48a66aed9a970.tar.gz glibc-433f49c4020279045b53d5f352d48a66aed9a970.tar.xz glibc-433f49c4020279045b53d5f352d48a66aed9a970.zip |
* nis/Makefile (libnsl-routimes): Add nss-default.
* nis/Versions (libnsl) [GLIBC_PRIVATE]: Export _nsl_default_nss. * nis/nss-nis.c: Move /etc/default/nss handling to... * nis/nss-default.c: ...here. New file. * nis/libnsl.h: New file. * nis/nss-nis.h: Remove NSS_FLAG_* definitions and _nis_default_nss plus auxilary definitions. * nis/nss_nis/nis-initgroups.c: Use _nsl_default_nss instead of _nis_default_nss. * nis/nss_nis/nis-service.c: Likewise. 2006-04-07 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/fpu/bits/mathinline.h [__WORDSIZE == 64 || _ARCH_PWR4]: Define __CPU_HAS_FSQRT. (__ieee754_sqrt): Fix comment. (__ieee754_sqrtf): Fix comment. * sysdeps/powerpc/fpu/e_sqrt.c (__ieee754_sqrt): Fix comment. Check __CPU_HAS_FSQRT instead of dl_hwcap. * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise.
Diffstat (limited to 'sysdeps/powerpc/fpu/e_sqrt.c')
-rw-r--r-- | sysdeps/powerpc/fpu/e_sqrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/fpu/e_sqrt.c b/sysdeps/powerpc/fpu/e_sqrt.c index e6ba1f979f..540b924656 100644 --- a/sysdeps/powerpc/fpu/e_sqrt.c +++ b/sysdeps/powerpc/fpu/e_sqrt.c @@ -169,8 +169,8 @@ __ieee754_sqrt (x) { double z; - /* If the CPU is 64-bit we can use the optional FP instructions we. */ - if ((GLRO (dl_hwcap) & PPC_FEATURE_64) != 0) + /* If the CPU is 64-bit we can use the optional FP instructions. */ + if (__CPU_HAS_FSQRT) { /* Volatile is required to prevent the compiler from moving the fsqrt instruction above the branch. */ |