diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-10 00:00:36 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-10 00:00:36 +0000 |
commit | 2293395f48cbfbd6ddf548fea8ba832e4c185356 (patch) | |
tree | 292ae8a697250541ee6b5328a2c36adc0bc33ed0 /sysdeps | |
parent | 883c331ae9e9fb6e61c7213a012a5f4122b2bb23 (diff) | |
download | glibc-2293395f48cbfbd6ddf548fea8ba832e4c185356.tar.gz glibc-2293395f48cbfbd6ddf548fea8ba832e4c185356.tar.xz glibc-2293395f48cbfbd6ddf548fea8ba832e4c185356.zip |
Update.
* nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis. * sysdeps/powerpc/s_copysign.S: Move to... * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax. * sysdeps/powerpc/s_copysignf.S: Move to... * sysdeps/powerpc/fpu/s_copysignf.S: ...here. * sysdeps/powerpc/s_fabs.S: Move to... * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax. * sysdeps/powerpc/s_fabsf.S: Move to... * sysdeps/powerpc/fpu/s_fabsf.S: ...here. * sysdeps/powerpc/s_fdim.c: Move to... * sysdeps/powerpc/fpu/s_fdim.c: ...here. * sysdeps/powerpc/s_fdimf.c: Move to... * sysdeps/powerpc/fpu/s_fdimf.c: ...here. * sysdeps/powerpc/s_fmax.S: Move to... * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax. * sysdeps/powerpc/s_fmaxf.S: Move to... * sysdeps/powerpc/fpu/s_fmaxf.S: ...here. * sysdeps/powerpc/s_fmin.S: Move to... * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax. * sysdeps/powerpc/s_fminf.S: Move to... * sysdeps/powerpc/fpu/s_fminf.S: ...here. * sysdeps/powerpc/s_isnan.S: Move to... * sysdeps/powerpc/fpu/s_isnan.c: ...here. * sysdeps/powerpc/s_isnanf.S: Move to... * sysdeps/powerpc/fpu/s_isnanf.S: ...here. * sysdeps/powerpc/s_llrint.c: Move to... * sysdeps/powerpc/fpu/s_llrint.c: ...here. * sysdeps/powerpc/s_llrintf.c: Move to... * sysdeps/powerpc/fpu/s_llrintf.c: ...here. * sysdeps/powerpc/s_llround.c: Move to... * sysdeps/powerpc/fpu/s_llround.c: ...here. * sysdeps/powerpc/s_llroundf.c: Move to... * sysdeps/powerpc/fpu/s_llroundf.c: ...here. * sysdeps/powerpc/s_lrint.c: Move to... * sysdeps/powerpc/fpu/s_lrint.c: ...here. * sysdeps/powerpc/s_lrintf.S: Move to... * sysdeps/powerpc/fpu/s_lrintf.S: ...here. * sysdeps/powerpc/s_lround.c: Move to... * sysdeps/powerpc/fpu/s_lround.c: ...here. * sysdeps/powerpc/s_lroundf.c: Move to... * sysdeps/powerpc/fpu/s_lroundf.c: ...here. * sysdeps/powerpc/s_rint.c: Move to... * sysdeps/powerpc/fpu/s_rint.c: ...here. * sysdeps/powerpc/s_rintf.c: Move to... * sysdeps/powerpc/fpu/s_rintf.c: ...here. * sysdeps/powerpc/t_sqrt.c: Move to... * sysdeps/powerpc/fpu/t_sqrt: ...here. * sysdeps/powerpc/w_sqrt.c: Move to... * sysdeps/powerpc/fpu/w_sqrt.c: ...here. * sysdeps/powerpc/w_sqrtf.c: Move to... * sysdeps/powerpc/fpu/w_sqrtf.c: ...here. * configure.in: Support platforms which have no .text pseudo-op. Patches partly by Jimi X <jimix@pobox.com>.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/powerpc/fpu/s_copysign.S (renamed from sysdeps/powerpc/s_copysign.S) | 16 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_copysignf.S (renamed from sysdeps/powerpc/s_copysignf.S) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fabs.S (renamed from sysdeps/powerpc/s_fabs.S) | 4 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fabsf.S (renamed from sysdeps/powerpc/s_fabsf.S) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fdim.c (renamed from sysdeps/powerpc/s_fdim.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fdimf.c (renamed from sysdeps/powerpc/s_fdimf.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fmax.S (renamed from sysdeps/powerpc/s_fmax.S) | 14 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fmaxf.S (renamed from sysdeps/powerpc/s_fmaxf.S) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fmin.S (renamed from sysdeps/powerpc/s_fmin.S) | 14 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fminf.S (renamed from sysdeps/powerpc/s_fminf.S) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_isnan.c (renamed from sysdeps/powerpc/s_isnan.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_isnanf.S (renamed from sysdeps/powerpc/s_isnanf.S) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_llrint.c (renamed from sysdeps/powerpc/s_llrint.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_llrintf.c (renamed from sysdeps/powerpc/s_llrintf.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_llround.c (renamed from sysdeps/powerpc/s_llround.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_llroundf.c (renamed from sysdeps/powerpc/s_llroundf.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_lrint.c (renamed from sysdeps/powerpc/s_lrint.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_lrintf.S (renamed from sysdeps/powerpc/s_lrintf.S) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_lround.c (renamed from sysdeps/powerpc/s_lround.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_lroundf.c (renamed from sysdeps/powerpc/s_lroundf.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_rint.c (renamed from sysdeps/powerpc/s_rint.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_rintf.c (renamed from sysdeps/powerpc/s_rintf.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/t_sqrt.c (renamed from sysdeps/powerpc/t_sqrt.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/w_sqrt.c (renamed from sysdeps/powerpc/w_sqrt.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/w_sqrtf.c (renamed from sysdeps/powerpc/w_sqrtf.c) | 0 |
25 files changed, 24 insertions, 24 deletions
diff --git a/sysdeps/powerpc/s_copysign.S b/sysdeps/powerpc/fpu/s_copysign.S index 6d5ba82592..0f27fef809 100644 --- a/sysdeps/powerpc/s_copysign.S +++ b/sysdeps/powerpc/fpu/s_copysign.S @@ -1,5 +1,5 @@ /* Copy a sign bit between floating-point values. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -26,15 +26,15 @@ ENTRY(__copysign) /* double [f1] copysign (double [f1] x, double [f2] y); copysign(x,y) returns a value with the magnitude of x and with the sign bit of y. */ - stwu %r1,-16(%r1) - stfd %f2,8(%r1) - lwz %r3,8(%r1) - cmpwi %r3,0 - addi %r1,%r1,16 + stwu 1,-16(1) + stfd 2,8(1) + lwz 3,8(1) + cmpwi 3,0 + addi 1,1,16 blt 0f - fabs %f1,%f1 + fabs 1,1 blr -0: fnabs %f1,%f1 +0: fnabs 1,1 blr END (__copysign) diff --git a/sysdeps/powerpc/s_copysignf.S b/sysdeps/powerpc/fpu/s_copysignf.S index e05438ae7d..e05438ae7d 100644 --- a/sysdeps/powerpc/s_copysignf.S +++ b/sysdeps/powerpc/fpu/s_copysignf.S diff --git a/sysdeps/powerpc/s_fabs.S b/sysdeps/powerpc/fpu/s_fabs.S index 3c6374b0aa..ec0bdb461f 100644 --- a/sysdeps/powerpc/s_fabs.S +++ b/sysdeps/powerpc/fpu/s_fabs.S @@ -1,5 +1,5 @@ /* Floating-point absolute value. PowerPC version. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,7 +21,7 @@ ENTRY(__fabs) /* double [f1] fabs (double [f1] x); */ - fabs %f1,%f1 + fabs 1,1 blr END(__fabs) diff --git a/sysdeps/powerpc/s_fabsf.S b/sysdeps/powerpc/fpu/s_fabsf.S index 877c710ce8..877c710ce8 100644 --- a/sysdeps/powerpc/s_fabsf.S +++ b/sysdeps/powerpc/fpu/s_fabsf.S diff --git a/sysdeps/powerpc/s_fdim.c b/sysdeps/powerpc/fpu/s_fdim.c index da22f5c978..da22f5c978 100644 --- a/sysdeps/powerpc/s_fdim.c +++ b/sysdeps/powerpc/fpu/s_fdim.c diff --git a/sysdeps/powerpc/s_fdimf.c b/sysdeps/powerpc/fpu/s_fdimf.c index bebe7e58f3..bebe7e58f3 100644 --- a/sysdeps/powerpc/s_fdimf.c +++ b/sysdeps/powerpc/fpu/s_fdimf.c diff --git a/sysdeps/powerpc/s_fmax.S b/sysdeps/powerpc/fpu/s_fmax.S index 559769a251..d5373d7bb1 100644 --- a/sysdeps/powerpc/s_fmax.S +++ b/sysdeps/powerpc/fpu/s_fmax.S @@ -1,5 +1,5 @@ /* Floating-point maximum. PowerPC version. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,13 +21,13 @@ ENTRY(__fmax) /* double [f1] fmax (double [f1] x, double [f2] y); */ - fcmpu %cr0,%f1,%f2 - blt %cr0,0f /* if x < y, neither x nor y can be NaN... */ - bnulr+ %cr0 + fcmpu 0,1,2 + blt 0,0f /* if x < y, neither x nor y can be NaN... */ + bnulr+ 0 /* x and y are unordered, so one of x or y must be a NaN... */ - fcmpu %cr1,%f2,%f2 - bunlr %cr1 -0: fmr %f1,%f2 + fcmpu 1,2,2 + bunlr 1 +0: fmr 1,2 blr END(__fmax) diff --git a/sysdeps/powerpc/s_fmaxf.S b/sysdeps/powerpc/fpu/s_fmaxf.S index 3c2d62bb81..3c2d62bb81 100644 --- a/sysdeps/powerpc/s_fmaxf.S +++ b/sysdeps/powerpc/fpu/s_fmaxf.S diff --git a/sysdeps/powerpc/s_fmin.S b/sysdeps/powerpc/fpu/s_fmin.S index 72516c29f0..919ceb113b 100644 --- a/sysdeps/powerpc/s_fmin.S +++ b/sysdeps/powerpc/fpu/s_fmin.S @@ -1,5 +1,5 @@ /* Floating-point minimum. PowerPC version. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,13 +21,13 @@ ENTRY(__fmin) /* double [f1] fmin (double [f1] x, double [f2] y); */ - fcmpu %cr0,%f1,%f2 - bgt %cr0,0f /* if x > y, neither x nor y can be NaN... */ - bnulr+ %cr0 + fcmpu 0,1,2 + bgt 0,0f /* if x > y, neither x nor y can be NaN... */ + bnulr+ 0 /* x and y are unordered, so one of x or y must be a NaN... */ - fcmpu %cr1,%f2,%f2 - bunlr %cr1 -0: fmr %f1,%f2 + fcmpu 1,2,2 + bunlr 1 +0: fmr 1,2 blr END(__fmin) diff --git a/sysdeps/powerpc/s_fminf.S b/sysdeps/powerpc/fpu/s_fminf.S index 10ab7fe53c..10ab7fe53c 100644 --- a/sysdeps/powerpc/s_fminf.S +++ b/sysdeps/powerpc/fpu/s_fminf.S diff --git a/sysdeps/powerpc/s_isnan.c b/sysdeps/powerpc/fpu/s_isnan.c index 34019fdbdb..34019fdbdb 100644 --- a/sysdeps/powerpc/s_isnan.c +++ b/sysdeps/powerpc/fpu/s_isnan.c diff --git a/sysdeps/powerpc/s_isnanf.S b/sysdeps/powerpc/fpu/s_isnanf.S index fc22f678a1..fc22f678a1 100644 --- a/sysdeps/powerpc/s_isnanf.S +++ b/sysdeps/powerpc/fpu/s_isnanf.S diff --git a/sysdeps/powerpc/s_llrint.c b/sysdeps/powerpc/fpu/s_llrint.c index 1789e79860..1789e79860 100644 --- a/sysdeps/powerpc/s_llrint.c +++ b/sysdeps/powerpc/fpu/s_llrint.c diff --git a/sysdeps/powerpc/s_llrintf.c b/sysdeps/powerpc/fpu/s_llrintf.c index 2068a02a93..2068a02a93 100644 --- a/sysdeps/powerpc/s_llrintf.c +++ b/sysdeps/powerpc/fpu/s_llrintf.c diff --git a/sysdeps/powerpc/s_llround.c b/sysdeps/powerpc/fpu/s_llround.c index 6b49dbf917..6b49dbf917 100644 --- a/sysdeps/powerpc/s_llround.c +++ b/sysdeps/powerpc/fpu/s_llround.c diff --git a/sysdeps/powerpc/s_llroundf.c b/sysdeps/powerpc/fpu/s_llroundf.c index 23f1c28ab0..23f1c28ab0 100644 --- a/sysdeps/powerpc/s_llroundf.c +++ b/sysdeps/powerpc/fpu/s_llroundf.c diff --git a/sysdeps/powerpc/s_lrint.c b/sysdeps/powerpc/fpu/s_lrint.c index a060598859..a060598859 100644 --- a/sysdeps/powerpc/s_lrint.c +++ b/sysdeps/powerpc/fpu/s_lrint.c diff --git a/sysdeps/powerpc/s_lrintf.S b/sysdeps/powerpc/fpu/s_lrintf.S index e24766535f..e24766535f 100644 --- a/sysdeps/powerpc/s_lrintf.S +++ b/sysdeps/powerpc/fpu/s_lrintf.S diff --git a/sysdeps/powerpc/s_lround.c b/sysdeps/powerpc/fpu/s_lround.c index c52c0388f6..c52c0388f6 100644 --- a/sysdeps/powerpc/s_lround.c +++ b/sysdeps/powerpc/fpu/s_lround.c diff --git a/sysdeps/powerpc/s_lroundf.c b/sysdeps/powerpc/fpu/s_lroundf.c index ce1c3cf257..ce1c3cf257 100644 --- a/sysdeps/powerpc/s_lroundf.c +++ b/sysdeps/powerpc/fpu/s_lroundf.c diff --git a/sysdeps/powerpc/s_rint.c b/sysdeps/powerpc/fpu/s_rint.c index a475875a97..a475875a97 100644 --- a/sysdeps/powerpc/s_rint.c +++ b/sysdeps/powerpc/fpu/s_rint.c diff --git a/sysdeps/powerpc/s_rintf.c b/sysdeps/powerpc/fpu/s_rintf.c index dde40bb3e5..dde40bb3e5 100644 --- a/sysdeps/powerpc/s_rintf.c +++ b/sysdeps/powerpc/fpu/s_rintf.c diff --git a/sysdeps/powerpc/t_sqrt.c b/sysdeps/powerpc/fpu/t_sqrt.c index c49380c0fd..c49380c0fd 100644 --- a/sysdeps/powerpc/t_sqrt.c +++ b/sysdeps/powerpc/fpu/t_sqrt.c diff --git a/sysdeps/powerpc/w_sqrt.c b/sysdeps/powerpc/fpu/w_sqrt.c index c42ace503b..c42ace503b 100644 --- a/sysdeps/powerpc/w_sqrt.c +++ b/sysdeps/powerpc/fpu/w_sqrt.c diff --git a/sysdeps/powerpc/w_sqrtf.c b/sysdeps/powerpc/fpu/w_sqrtf.c index d40ade12d0..d40ade12d0 100644 --- a/sysdeps/powerpc/w_sqrtf.c +++ b/sysdeps/powerpc/fpu/w_sqrtf.c |