summaryrefslogtreecommitdiff
path: root/mpn/x86_64/bd1/popcount.asm
diff options
context:
space:
mode:
authorTorbjorn Granlund <tg@gmplib.org>2022-11-02 13:48:37 +0100
committerTorbjorn Granlund <tg@gmplib.org>2022-11-02 13:48:37 +0100
commit1c675a294230d0b8ed95193ef2475fee83455f09 (patch)
tree27ffdccb198901e70b928f169d61dd2b56196aa0 /mpn/x86_64/bd1/popcount.asm
parent8ce4fc828bbec94c253074206d3d93a5223130a6 (diff)
downloadgmp-1c675a294230d0b8ed95193ef2475fee83455f09.tar.gz
Prefer movd to movq for register moves.
Diffstat (limited to 'mpn/x86_64/bd1/popcount.asm')
-rw-r--r--mpn/x86_64/bd1/popcount.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpn/x86_64/bd1/popcount.asm b/mpn/x86_64/bd1/popcount.asm
index 28ce4616c..7b084f4c9 100644
--- a/mpn/x86_64/bd1/popcount.asm
+++ b/mpn/x86_64/bd1/popcount.asm
@@ -167,7 +167,7 @@ L(e2): popcnt 48(up), %r8
paddq %xmm5, %xmm8
pshufd $14, %xmm8, %xmm0
paddq %xmm8, %xmm0
- movq %xmm0, %rax
+ movd %xmm0, %rax
add %rdx, %rax
FUNC_EXIT()
ret