hppa: Fix _FPU_GETCW and _FPU_SETCW.
commitb7f7d28b61a806f02e1f4cea81213027c088be8b
authorCarlos O'Donell <carlos@systemhalted.org>
Wed, 15 May 2013 15:47:47 +0000 (15 11:47 -0400)
committerCarlos O'Donell <carlos@systemhalted.org>
Wed, 15 May 2013 16:05:10 +0000 (15 12:05 -0400)
treea4d7b1c56605fd6ba907f9eb46d771ee82acbc36
parent7abeee129ef9872abd8e2fe0f94b1ad31f4ac591
hppa: Fix _FPU_GETCW and _FPU_SETCW.

The following patch fixes both _FPU_GETCW and
_FPU_SETCW for hppa. The initial implementation was
flawed and not well tested. We failed to set cw,
and passed in the value of a register to fldd.
This patch fixes both of those errors and allows
the libm tests to pass without failure.

Signed-off-by: Guy Martin <gmsoft@tuxicoman.be>
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
---

2013-05-15  Guy Martin  <gmsoft@tuxicoman.be>
    Carlos O'Donell  <carlos@redhat.com>

[BZ# 15000]
* ports/sysdeps/hppa/fpu/fpu_control.h (_FPU_GETCW): Set cw.
(_FPU_SETCW): Pass address to fldd.
NEWS
ports/ChangeLog.hppa
ports/sysdeps/hppa/fpu/fpu_control.h