mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 04:03:35 +08:00
Use 64 bit instructions for pointer operations.
This commit is contained in:
parent
d425aefc71
commit
cec75f9946
@ -36,7 +36,7 @@ ENTRY(__getcontext)
|
||||
|
||||
/* sigprocmask (SIG_BLOCK, NULL, &sc->sc_mask). */
|
||||
la %r2,SIG_BLOCK
|
||||
slr %r3,%r3
|
||||
slgr %r3,%r3
|
||||
la %r4,SC_MASK(%r5)
|
||||
svc SYS_ify(rt_sigprocmask)
|
||||
|
||||
@ -60,7 +60,7 @@ ENTRY(__getcontext)
|
||||
std %f15,SC_FPRS+120(%r5)
|
||||
|
||||
/* Set __getcontext return value to 0. */
|
||||
slr %r2,%r2
|
||||
slgr %r2,%r2
|
||||
|
||||
/* Store access registers. */
|
||||
stam %a0,%a15,SC_ACRS(%r5)
|
||||
|
@ -34,12 +34,12 @@
|
||||
other than the PRESERVED state. */
|
||||
|
||||
ENTRY(__swapcontext)
|
||||
lr %r1,%r2
|
||||
lr %r5,%r3
|
||||
lgr %r1,%r2
|
||||
lgr %r5,%r3
|
||||
|
||||
/* sigprocmask (SIG_BLOCK, NULL, &sc->sc_mask). */
|
||||
la %r2,SIG_BLOCK
|
||||
slr %r3,%r3
|
||||
slgr %r3,%r3
|
||||
la %r4,SC_MASK(%r1)
|
||||
svc SYS_ify(rt_sigprocmask)
|
||||
|
||||
@ -63,7 +63,7 @@ ENTRY(__swapcontext)
|
||||
std %f15,SC_FPRS+120(%r1)
|
||||
|
||||
/* Set __swapcontext return value to 0. */
|
||||
slr %r2,%r2
|
||||
slgr %r2,%r2
|
||||
|
||||
/* Store access registers. */
|
||||
stam %a0,%a15,SC_ACRS(%r1)
|
||||
|
Loading…
Reference in New Issue
Block a user