]> git.ipfire.org Git - thirdparty/glibc.git/commit
powerpc: Fix fesetexceptflag [BZ#17885]
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 27 Jan 2015 12:37:10 +0000 (06:37 -0600)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Wed, 28 Jan 2015 10:59:21 +0000 (05:59 -0500)
commitd4d0ecb24474928b9dfcce6c3f09694fab2400b6
treefb1446f69193dbf2b07a1bc52c42dac10dafd3a8
parent08cee2a464f614a6d4275b5af6c52481f1aa16e6
powerpc: Fix fesetexceptflag [BZ#17885]

This patch fixes a bug introduced by 18f2945ae9216cfc, where it optimizes
the FPSCR set by just issuing a mtfs instruction if new flag is different
from older one.  The issue is a typo, where the new flag should the the
new value, instead of the old one.

It fixes BZ#17885.
ChangeLog
NEWS
sysdeps/powerpc/fpu/fsetexcptflg.c