diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/__longjmp.S | 34 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_copysign.S | 6 | ||||
-rw-r--r-- | sysdeps/powerpc/setjmp.S | 36 |
4 files changed, 40 insertions, 38 deletions
diff --git a/ChangeLog b/ChangeLog index 0bf00caf71..274402b768 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 1999-10-11 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/powerpc/brk.S: Adjust asm syntax. + * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt. * sysdeps/powerpc/e_sqrt.c: Moved to... diff --git a/sysdeps/powerpc/__longjmp.S b/sysdeps/powerpc/__longjmp.S index 4981821cc3..b29f72c3db 100644 --- a/sysdeps/powerpc/__longjmp.S +++ b/sysdeps/powerpc/__longjmp.S @@ -27,44 +27,44 @@ ENTRY (__longjmp) lwz r2,(JB_GPR2*4)(r3) lwz r0,(JB_LR*4)(r3) lwz r14,((JB_GPRS+0)*4)(r3) - lfd f14,((JB_FPRS+0*2)*4)(r3) + lfd fp14,((JB_FPRS+0*2)*4)(r3) lwz r15,((JB_GPRS+1)*4)(r3) - lfd f15,((JB_FPRS+1*2)*4)(r3) + lfd fp15,((JB_FPRS+1*2)*4)(r3) lwz r16,((JB_GPRS+2)*4)(r3) - lfd f16,((JB_FPRS+2*2)*4)(r3) + lfd fp16,((JB_FPRS+2*2)*4)(r3) lwz r17,((JB_GPRS+3)*4)(r3) - lfd f17,((JB_FPRS+3*2)*4)(r3) + lfd fp17,((JB_FPRS+3*2)*4)(r3) lwz r18,((JB_GPRS+4)*4)(r3) - lfd f18,((JB_FPRS+4*2)*4)(r3) + lfd fp18,((JB_FPRS+4*2)*4)(r3) lwz r19,((JB_GPRS+5)*4)(r3) - lfd f19,((JB_FPRS+5*2)*4)(r3) + lfd fp19,((JB_FPRS+5*2)*4)(r3) lwz r20,((JB_GPRS+6)*4)(r3) - lfd f20,((JB_FPRS+6*2)*4)(r3) + lfd fp20,((JB_FPRS+6*2)*4)(r3) mtlr r0 lwz r21,((JB_GPRS+7)*4)(r3) - lfd f21,((JB_FPRS+7*2)*4)(r3) + lfd fp21,((JB_FPRS+7*2)*4)(r3) lwz r22,((JB_GPRS+8)*4)(r3) - lfd f22,((JB_FPRS+8*2)*4)(r3) + lfd fp22,((JB_FPRS+8*2)*4)(r3) lwz r0,(JB_CR*4)(r3) lwz r23,((JB_GPRS+9)*4)(r3) - lfd f23,((JB_FPRS+9*2)*4)(r3) + lfd fp23,((JB_FPRS+9*2)*4)(r3) lwz r24,((JB_GPRS+10)*4)(r3) - lfd f24,((JB_FPRS+10*2)*4)(r3) + lfd fp24,((JB_FPRS+10*2)*4)(r3) lwz r25,((JB_GPRS+11)*4)(r3) - lfd f25,((JB_FPRS+11*2)*4)(r3) + lfd fp25,((JB_FPRS+11*2)*4)(r3) mtcrf 0xFF,r0 lwz r26,((JB_GPRS+12)*4)(r3) - lfd f26,((JB_FPRS+12*2)*4)(r3) + lfd fp26,((JB_FPRS+12*2)*4)(r3) lwz r27,((JB_GPRS+13)*4)(r3) - lfd f27,((JB_FPRS+13*2)*4)(r3) + lfd fp27,((JB_FPRS+13*2)*4)(r3) lwz r28,((JB_GPRS+14)*4)(r3) - lfd f28,((JB_FPRS+14*2)*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) lwz r30,((JB_GPRS+16)*4)(r3) - lfd f30,((JB_FPRS+16*2)*4)(r3) + lfd fp30,((JB_FPRS+16*2)*4)(r3) lwz r31,((JB_GPRS+17)*4)(r3) - lfd f31,((JB_FPRS+17*2)*4)(r3) + lfd fp31,((JB_FPRS+17*2)*4)(r3) mr r3,r4 blr END (__longjmp) diff --git a/sysdeps/powerpc/fpu/s_copysign.S b/sysdeps/powerpc/fpu/s_copysign.S index f7a412db3c..90276973ce 100644 --- a/sysdeps/powerpc/fpu/s_copysign.S +++ b/sysdeps/powerpc/fpu/s_copysign.S @@ -27,14 +27,14 @@ ENTRY(__copysign) 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) + stfd fp2,8(r1) lwz r3,8(r1) cmpwi r3,0 addi r1,r1,16 blt 0f - fabs f1,f1 + fabs fp1,fp1 blr -0: fnabs f1,f1 +0: fnabs fp1,fp1 blr END (__copysign) diff --git a/sysdeps/powerpc/setjmp.S b/sysdeps/powerpc/setjmp.S index fca7e9f204..cb95a58f2c 100644 --- a/sysdeps/powerpc/setjmp.S +++ b/sysdeps/powerpc/setjmp.S @@ -27,43 +27,43 @@ ENTRY (__sigsetjmp) mflr r0 stw r2,(JB_GPR2*4)(3) stw r14,((JB_GPRS+0)*4)(3) - stfd f14,((JB_FPRS+0*2)*4)(3) + stfd fp14,((JB_FPRS+0*2)*4)(3) stw r0,(JB_LR*4)(3) stw r15,((JB_GPRS+1)*4)(3) - stfd f15,((JB_FPRS+1*2)*4)(3) + stfd fp15,((JB_FPRS+1*2)*4)(3) mfcr r0 stw r16,((JB_GPRS+2)*4)(3) - stfd f16,((JB_FPRS+2*2)*4)(3) + stfd fp16,((JB_FPRS+2*2)*4)(3) stw r0,(JB_CR*4)(3) stw r17,((JB_GPRS+3)*4)(3) - stfd f17,((JB_FPRS+3*2)*4)(3) + stfd fp17,((JB_FPRS+3*2)*4)(3) stw r18,((JB_GPRS+4)*4)(3) - stfd f18,((JB_FPRS+4*2)*4)(3) + stfd fp18,((JB_FPRS+4*2)*4)(3) stw r19,((JB_GPRS+5)*4)(3) - stfd f19,((JB_FPRS+5*2)*4)(3) + stfd fp19,((JB_FPRS+5*2)*4)(3) stw r20,((JB_GPRS+6)*4)(3) - stfd f20,((JB_FPRS+6*2)*4)(3) + stfd fp20,((JB_FPRS+6*2)*4)(3) stw r21,((JB_GPRS+7)*4)(3) - stfd f21,((JB_FPRS+7*2)*4)(3) + stfd fp21,((JB_FPRS+7*2)*4)(3) stw r22,((JB_GPRS+8)*4)(3) - stfd f22,((JB_FPRS+8*2)*4)(3) + stfd fp22,((JB_FPRS+8*2)*4)(3) stw r23,((JB_GPRS+9)*4)(3) - stfd f23,((JB_FPRS+9*2)*4)(3) + stfd fp23,((JB_FPRS+9*2)*4)(3) stw r24,((JB_GPRS+10)*4)(3) - stfd f24,((JB_FPRS+10*2)*4)(3) + stfd fp24,((JB_FPRS+10*2)*4)(3) stw r25,((JB_GPRS+11)*4)(3) - stfd f25,((JB_FPRS+11*2)*4)(3) + stfd fp25,((JB_FPRS+11*2)*4)(3) stw r26,((JB_GPRS+12)*4)(3) - stfd f26,((JB_FPRS+12*2)*4)(3) + stfd fp26,((JB_FPRS+12*2)*4)(3) stw r27,((JB_GPRS+13)*4)(3) - stfd f27,((JB_FPRS+13*2)*4)(3) + stfd fp27,((JB_FPRS+13*2)*4)(3) stw r28,((JB_GPRS+14)*4)(3) - stfd f28,((JB_FPRS+14*2)*4)(3) + stfd fp28,((JB_FPRS+14*2)*4)(3) stw r29,((JB_GPRS+15)*4)(3) - stfd f29,((JB_FPRS+15*2)*4)(3) + stfd fp29,((JB_FPRS+15*2)*4)(3) stw r30,((JB_GPRS+16)*4)(3) - stfd f30,((JB_FPRS+16*2)*4)(3) + stfd fp30,((JB_FPRS+16*2)*4)(3) stw r31,((JB_GPRS+17)*4)(3) - stfd f31,((JB_FPRS+17*2)*4)(3) + stfd fp31,((JB_FPRS+17*2)*4)(3) b JUMPTARGET(__sigjmp_save) END (__sigsetjmp) |