summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/fpu/s_fmin.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-10 20:36:40 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-10 20:36:40 +0000
commitbe9cd93a78a536ea078d4f2c6c75fe858d6845e3 (patch)
tree531512c37b11ba48095eddab9af5009558ddc5bc /sysdeps/powerpc/fpu/s_fmin.S
parenta73b0d84418552e0b05c2107e88e0f019ecd4dee (diff)
downloadglibc-be9cd93a78a536ea078d4f2c6c75fe858d6845e3.tar.gz
Update.
1999-10-10 Ulrich Drepper <drepper@cygnus.com> * sysdeps/powerpc/sysdep.h: New file. * sysdeps/unix/powerpc/sysdep.h: New file. * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h. * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers instead of bare numbers. * sysdeps/powerpc/fpu/s_fabs.S: Likewise. * sysdeps/powerpc/fpu/s_fmax.S: Likewise. * sysdeps/powerpc/fpu/s_fmin.S: Likewise. * sysdeps/hppa/sysdep.h: New file.
Diffstat (limited to 'sysdeps/powerpc/fpu/s_fmin.S')
-rw-r--r--sysdeps/powerpc/fpu/s_fmin.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/powerpc/fpu/s_fmin.S b/sysdeps/powerpc/fpu/s_fmin.S
index 919ceb113b..384995f847 100644
--- a/sysdeps/powerpc/fpu/s_fmin.S
+++ b/sysdeps/powerpc/fpu/s_fmin.S
@@ -21,13 +21,13 @@
ENTRY(__fmin)
/* double [f1] fmin (double [f1] x, double [f2] y); */
- fcmpu 0,1,2
- bgt 0,0f /* if x > y, neither x nor y can be NaN... */
- bnulr+ 0
+ fcmpu cr0,f1,f2
+ bgt cr0,0f /* if x > y, neither x nor y can be NaN... */
+ bnulr+ cr0
/* x and y are unordered, so one of x or y must be a NaN... */
- fcmpu 1,2,2
- bunlr 1
-0: fmr 1,2
+ fcmpu cr1,f2,f2
+ bunlr cr1
+0: fmr f1,f2
blr
END(__fmin)