Use 64 bit instructions for pointer operations.

This commit is contained in:
Ulrich Drepper 2002-01-17 22:56:53 +00:00
parent d425aefc71
commit cec75f9946
2 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@ ENTRY(__getcontext)
/* sigprocmask (SIG_BLOCK, NULL, &sc->sc_mask). */ /* sigprocmask (SIG_BLOCK, NULL, &sc->sc_mask). */
la %r2,SIG_BLOCK la %r2,SIG_BLOCK
slr %r3,%r3 slgr %r3,%r3
la %r4,SC_MASK(%r5) la %r4,SC_MASK(%r5)
svc SYS_ify(rt_sigprocmask) svc SYS_ify(rt_sigprocmask)
@ -60,7 +60,7 @@ ENTRY(__getcontext)
std %f15,SC_FPRS+120(%r5) std %f15,SC_FPRS+120(%r5)
/* Set __getcontext return value to 0. */ /* Set __getcontext return value to 0. */
slr %r2,%r2 slgr %r2,%r2
/* Store access registers. */ /* Store access registers. */
stam %a0,%a15,SC_ACRS(%r5) stam %a0,%a15,SC_ACRS(%r5)

View File

@ -34,12 +34,12 @@
other than the PRESERVED state. */ other than the PRESERVED state. */
ENTRY(__swapcontext) ENTRY(__swapcontext)
lr %r1,%r2 lgr %r1,%r2
lr %r5,%r3 lgr %r5,%r3
/* sigprocmask (SIG_BLOCK, NULL, &sc->sc_mask). */ /* sigprocmask (SIG_BLOCK, NULL, &sc->sc_mask). */
la %r2,SIG_BLOCK la %r2,SIG_BLOCK
slr %r3,%r3 slgr %r3,%r3
la %r4,SC_MASK(%r1) la %r4,SC_MASK(%r1)
svc SYS_ify(rt_sigprocmask) svc SYS_ify(rt_sigprocmask)
@ -63,7 +63,7 @@ ENTRY(__swapcontext)
std %f15,SC_FPRS+120(%r1) std %f15,SC_FPRS+120(%r1)
/* Set __swapcontext return value to 0. */ /* Set __swapcontext return value to 0. */
slr %r2,%r2 slgr %r2,%r2
/* Store access registers. */ /* Store access registers. */
stam %a0,%a15,SC_ACRS(%r1) stam %a0,%a15,SC_ACRS(%r1)