mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-24 15:12:04 +03:00
setjmp: avoid useless REX-prefix on xor %eax, %eax
This commit is contained in:
parent
21431a0e43
commit
c6a6fe4ccd
@ -18,5 +18,5 @@ setjmp:
|
||||
mov %rdx,48(%rdi)
|
||||
mov (%rsp),%rdx /* save return addr ptr for new rip */
|
||||
mov %rdx,56(%rdi)
|
||||
xor %rax,%rax /* always return 0 */
|
||||
xor %eax,%eax /* always return 0 */
|
||||
ret
|
||||
|
@ -18,5 +18,5 @@ setjmp:
|
||||
mov %rdx,48(%rdi)
|
||||
mov (%rsp),%rdx /* save return addr ptr for new rip */
|
||||
mov %rdx,56(%rdi)
|
||||
xor %rax,%rax /* always return 0 */
|
||||
xor %eax,%eax /* always return 0 */
|
||||
ret
|
||||
|
Loading…
Reference in New Issue
Block a user