aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Neves <[email protected]>2021-02-26 00:17:12 +0000
committerSamuel Neves <[email protected]>2021-02-26 00:17:12 +0000
commit0359065018e2bafa31d319010ec5cebc35ad4393 (patch)
tree57af77ee4f6ad8c822550729fb2376a1d4e32400
parent0872f98c151892b3b417eccbf22bc023a30433fb (diff)
Another movd/movq inconsistency.
- Visual Studio <= 2015 does not support AVX-512 either way; - Visual Studio 2017 does not tolerate vmovd with 64-bit operands; - Visual Studio 2019 does not care.
-rw-r--r--c/blake3_avx512_x86-64_windows_msvc.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/blake3_avx512_x86-64_windows_msvc.asm b/c/blake3_avx512_x86-64_windows_msvc.asm
index 97a7268..b19efba 100644
--- a/c/blake3_avx512_x86-64_windows_msvc.asm
+++ b/c/blake3_avx512_x86-64_windows_msvc.asm
@@ -2421,8 +2421,8 @@ _blake3_compress_in_place_avx512 PROC
movzx r8d, r8b
shl rax, 32
add r8, rax
- vmovd xmm3, r9
- vmovd xmm4, r8
+ vmovq xmm3, r9
+ vmovq xmm4, r8
vpunpcklqdq xmm3, xmm3, xmm4
vmovaps xmm2, xmmword ptr [BLAKE3_IV]
vmovups xmm8, xmmword ptr [rdx]
@@ -2516,8 +2516,8 @@ _blake3_compress_xof_avx512 PROC
mov r10, qword ptr [rsp+78H]
shl rax, 32
add r8, rax
- vmovd xmm3, r9
- vmovd xmm4, r8
+ vmovq xmm3, r9
+ vmovq xmm4, r8
vpunpcklqdq xmm3, xmm3, xmm4
vmovaps xmm2, xmmword ptr [BLAKE3_IV]
vmovups xmm8, xmmword ptr [rdx]