diff options
Diffstat (limited to 'cipher/sha512-avx2-bmi2-amd64.S')
-rw-r--r-- | cipher/sha512-avx2-bmi2-amd64.S | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/cipher/sha512-avx2-bmi2-amd64.S b/cipher/sha512-avx2-bmi2-amd64.S index 9ece4fda..d6301f36 100644 --- a/cipher/sha512-avx2-bmi2-amd64.S +++ b/cipher/sha512-avx2-bmi2-amd64.S @@ -719,19 +719,9 @@ _gcry_sha512_transform_amd64_avx2: /* Restore Stack Pointer */ mov rsp, [rsp + frame_RSPSAVE] - vzeroupper - pxor xmm0, xmm0 - pxor xmm1, xmm1 - pxor xmm2, xmm2 - pxor xmm3, xmm3 - pxor xmm4, xmm4 - pxor xmm5, xmm5 - pxor xmm6, xmm6 - pxor xmm7, xmm7 - pxor xmm8, xmm8 - pxor xmm9, xmm9 - - mov rax, frame_size + vzeroall + + mov eax, frame_size + 31 .Lnowork: ret |