From b7d5c13d9d6aad8970dc026183ffed48fc433e66 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 3 Dec 2002 02:50:52 +0000 Subject: [PATCH] 2002-12-02 Carlos O'Donell * sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both bits of RM are cleared. --- sysdeps/hppa/fpu/fesetround.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/hppa/fpu/fesetround.c b/sysdeps/hppa/fpu/fesetround.c index 7634b1e1d7c..3687624c2b5 100644 --- a/sysdeps/hppa/fpu/fesetround.c +++ b/sysdeps/hppa/fpu/fesetround.c @@ -31,7 +31,7 @@ fesetround (int round) /* Get the current status word. */ __asm__ ("fstd %%fr0,0(%1)" : "=m" (*sw) : "r" (sw)); - sw[0] &= ~FE_UPWARD; + sw[0] &= ~FE_DOWNWARD; sw[0] |= round; __asm__ ("fldd 0(%0),%%fr0" : : "r" (sw)); -- 2.47.3