Skip to content

Commit

Permalink
Use 64 bit instructions for pointer operations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jan 17, 2002
1 parent 8c4dbc4 commit 2d24380
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)
Expand Down

0 comments on commit 2d24380

Please sign in to comment.