From 3e17e819a6a4d505828cf93fc2c258a753f1d38c Mon Sep 17 00:00:00 2001 From: Jussi Kivilinna Date: Mon, 10 Apr 2023 22:23:14 +0300 Subject: mpi/amd64: fix use of 'movd' for 64-bit register move in lshift&rshift * mpi/amd64/mpih-lshift.S: Use 'movq' instead of 'movd' for moving value to %rax. * mpi/amd64/mpih-rshift.S: Likewise. -- Signed-off-by: Jussi Kivilinna --- mpi/amd64/mpih-lshift.S | 2 +- mpi/amd64/mpih-rshift.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mpi') diff --git a/mpi/amd64/mpih-lshift.S b/mpi/amd64/mpih-lshift.S index c11e808c..3fa6e4fd 100644 --- a/mpi/amd64/mpih-lshift.S +++ b/mpi/amd64/mpih-lshift.S @@ -52,7 +52,7 @@ C_SYMBOL_NAME(_gcry_mpih_lshift:) movd %eax, %xmm0 movdqa %xmm4, %xmm3 psrlq %xmm0, %xmm4 - movd %xmm4, %rax + movq %xmm4, %rax subq $2, %rdx jl .Lendo diff --git a/mpi/amd64/mpih-rshift.S b/mpi/amd64/mpih-rshift.S index 430ba4b0..4bc5db22 100644 --- a/mpi/amd64/mpih-rshift.S +++ b/mpi/amd64/mpih-rshift.S @@ -52,7 +52,7 @@ C_SYMBOL_NAME(_gcry_mpih_rshift:) movd %eax, %xmm0 movdqa %xmm4, %xmm3 psllq %xmm0, %xmm4 - movd %xmm4, %rax + movq %xmm4, %rax leaq (%rsi,%rdx,8), %rsi leaq (%rdi,%rdx,8), %rdi negq %rdx -- cgit v1.2.1