crc: fix build with NASM 2.14

Fix following compilation error
crc/crc32_iscsi_by16_10.s:408: error: invalid combination of opcode and operands

Fixes #257.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
Pablo de Lara 2023-09-27 09:57:05 +01:00 committed by Tomasz Kantecki
parent 4815174a68
commit acbe0deecf
3 changed files with 3 additions and 3 deletions

View File

@ -441,7 +441,7 @@ align 16
xor r10, r10
bts r10, arg3
dec r10
kmovw k2, r10w
kmovw k2, r10d
vmovdqu8 xmm7{k2}{z}, [arg2]
vpxor xmm7, xmm0 ; xor the initial crc value

View File

@ -455,7 +455,7 @@ align 16
xor r10, r10
bts r10, arg3
dec r10
kmovw k2, r10w
kmovw k2, r10d
vmovdqu8 xmm7{k2}{z}, [arg2]
vpshufb xmm7, xmm18 ; byte-reflect the plaintext

View File

@ -405,7 +405,7 @@ align 16
xor r10, r10
bts r10, arg3
dec r10
kmovw k2, r10w
kmovw k2, r10d
vmovdqu8 xmm7{k2}{z}, [arg2]
vpxor xmm7, xmm0 ; xor the initial crc value