1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-03-28 18:39:56 +01:00

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.
This commit is contained in:
Samuel Neves 2021-02-26 00:17:12 +00:00
parent 0872f98c15
commit 0359065018

View File

@ -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]