about summary refs log tree commit diff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-01-27 13:16:39 -0500
committerAurelien Jarno <aurelien@aurel32.net>2016-11-21 17:13:40 +0100
commita0b2d5b252477b6bc374390c14c3c8ed6aae420c (patch)
tree871954fbfb4779beace3db6f3fb6a1d57c33dca0 /sysdeps/ieee754
parent7a609588a02281638e9a0cb57bed18966806349a (diff)
downloadglibc-a0b2d5b252477b6bc374390c14c3c8ed6aae420c.tar.gz
glibc-a0b2d5b252477b6bc374390c14c3c8ed6aae420c.tar.xz
glibc-a0b2d5b252477b6bc374390c14c3c8ed6aae420c.zip
powerpc: Fix fsqrt build in libm [BZ#16576]
Some powerpc64 processors (e5500 core for instance) does not provide the
fsqrt instruction, however current check to use in math_private.h is
__WORDSIZE and _ARCH_PWR4 (ISA 2.02).  This is patch change it to use
the compiler flag _ARCH_PPCSQ (which is the same condition GCC uses to
decide whether to generate fsqrt instruction).

It fixes BZ#16576.

(cherry picked from commit 08cee2a464f614a6d4275b5af6c52481f1aa16e6)
Diffstat (limited to 'sysdeps/ieee754')
0 files changed, 0 insertions, 0 deletions