diff options
author | Alexander Monakov <amonakov@ispras.ru> | 2020-08-11 21:11:15 +0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-08-11 14:43:12 -0400 |
commit | c6a6fe4ccdba92c518dfbf337cda1bf0f697527d (patch) | |
tree | a7a72de0430b778ddb9f4b6a15ede0dd014bd502 /src/setjmp/x32/setjmp.s | |
parent | 21431a0e43a65e9547c9a23497f074f861bcab8b (diff) | |
download | musl-c6a6fe4ccdba92c518dfbf337cda1bf0f697527d.tar.gz musl-c6a6fe4ccdba92c518dfbf337cda1bf0f697527d.tar.bz2 musl-c6a6fe4ccdba92c518dfbf337cda1bf0f697527d.tar.xz musl-c6a6fe4ccdba92c518dfbf337cda1bf0f697527d.zip |
setjmp: avoid useless REX-prefix on xor %eax, %eax
Diffstat (limited to 'src/setjmp/x32/setjmp.s')
-rw-r--r-- | src/setjmp/x32/setjmp.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setjmp/x32/setjmp.s b/src/setjmp/x32/setjmp.s index 98f58b8d..d95e4853 100644 --- a/src/setjmp/x32/setjmp.s +++ b/src/setjmp/x32/setjmp.s @@ -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 |