diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-12 00:19:17 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-12 00:19:17 +0000 |
commit | 48ac0597336da20bedb567734cfa10a34128008c (patch) | |
tree | 4a8bd63b90e10a0286a5c8a623dd1a385f360dbf /sysdeps | |
parent | 0d57f6957019317183e9e6d82dd587dc7bde48bf (diff) | |
download | glibc-48ac0597336da20bedb567734cfa10a34128008c.tar.gz glibc-48ac0597336da20bedb567734cfa10a34128008c.tar.xz glibc-48ac0597336da20bedb567734cfa10a34128008c.zip |
Update.
1999-10-11 Ulrich Drepper <drepper@cygnus.com> * malloc/memprof.c (GETSP): Define for PowerPC. (GETTIME): Fix generic version.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/powerpc/__longjmp.S | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fabs.S | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fmax.S | 6 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fmin.S | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/powerpc/__longjmp.S b/sysdeps/powerpc/__longjmp.S index b29f72c3db..7f32b22c1b 100644 --- a/sysdeps/powerpc/__longjmp.S +++ b/sysdeps/powerpc/__longjmp.S @@ -60,7 +60,7 @@ ENTRY (__longjmp) lwz r28,((JB_GPRS+14)*4)(r3) lfd fp28,((JB_FPRS+14*2)*4)(r3) lwz r29,((JB_GPRS+15)*4)(r3) - lfd f29,((JB_FPRS+15*2)*4)(r3) + lfd fp29,((JB_FPRS+15*2)*4)(r3) lwz r30,((JB_GPRS+16)*4)(r3) lfd fp30,((JB_FPRS+16*2)*4)(r3) lwz r31,((JB_GPRS+17)*4)(r3) diff --git a/sysdeps/powerpc/fpu/s_fabs.S b/sysdeps/powerpc/fpu/s_fabs.S index f152079e0a..cf92e00289 100644 --- a/sysdeps/powerpc/fpu/s_fabs.S +++ b/sysdeps/powerpc/fpu/s_fabs.S @@ -21,7 +21,7 @@ ENTRY(__fabs) /* double [f1] fabs (double [f1] x); */ - fabs f1,f1 + fabs fp1,fp1 blr END(__fabs) diff --git a/sysdeps/powerpc/fpu/s_fmax.S b/sysdeps/powerpc/fpu/s_fmax.S index 3721db4c94..d6e5ec58b1 100644 --- a/sysdeps/powerpc/fpu/s_fmax.S +++ b/sysdeps/powerpc/fpu/s_fmax.S @@ -21,13 +21,13 @@ ENTRY(__fmax) /* double [f1] fmax (double [f1] x, double [f2] y); */ - fcmpu cr0,f1,f2 + fcmpu cr0,fp1,fp2 blt 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 cr1,f2,f2 + fcmpu cr1,fp2,fp2 bunlr cr1 -0: fmr f1,f2 +0: fmr fp1,fp2 blr END(__fmax) diff --git a/sysdeps/powerpc/fpu/s_fmin.S b/sysdeps/powerpc/fpu/s_fmin.S index 384995f847..6e74ba2b58 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 cr0,f1,f2 + fcmpu cr0,fp1,fp2 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 cr1,f2,f2 + fcmpu cr1,fp2,fp2 bunlr cr1 -0: fmr f1,f2 +0: fmr fp1,fp2 blr END(__fmin) |