diff options
Diffstat (limited to 'sysdeps/powerpc/fpu')
-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 |
3 files changed, 7 insertions, 7 deletions
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) |