mirror of
https://github.com/intel/isa-l.git
synced 2025-03-03 21:06:23 +01:00
mem: fix compilation with YASM
Fixes #294. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
parent
28305ade9e
commit
b0f067f94b
@ -26,6 +26,7 @@ v2.31.1
|
||||
* Fixed spelling mistakes and typos.
|
||||
* Fixed Windows build on erasure code performance applications.
|
||||
* Fixed FreeBSD build warnings.
|
||||
* Fixed compilation with YASM.
|
||||
|
||||
v2.31
|
||||
|
||||
|
@ -33,7 +33,9 @@
|
||||
default rel
|
||||
[bits 64]
|
||||
|
||||
extern mem_zero_detect_avx512
|
||||
%ifdef HAVE_AS_KNOWS_AVX512
|
||||
extern mem_zero_detect_avx512
|
||||
%endif
|
||||
extern mem_zero_detect_avx2
|
||||
extern mem_zero_detect_avx
|
||||
extern mem_zero_detect_sse
|
||||
|
@ -67,8 +67,12 @@
|
||||
%define tmp0 arg2
|
||||
%define tmp1 arg3
|
||||
|
||||
; Workaround for YASM
|
||||
%ifdef HAVE_AS_KNOWS_AVX512
|
||||
%use smartalign
|
||||
ALIGNMODE P6
|
||||
%endif
|
||||
|
||||
default rel
|
||||
|
||||
[bits 64]
|
||||
|
@ -29,6 +29,8 @@
|
||||
|
||||
%include "reg_sizes.asm"
|
||||
|
||||
%ifdef HAVE_AS_KNOWS_AVX512
|
||||
|
||||
%ifidn __OUTPUT_FORMAT__, elf64
|
||||
%define arg0 rdi
|
||||
%define arg1 rsi
|
||||
@ -140,3 +142,5 @@ align 16
|
||||
|
||||
|
||||
endproc_frame
|
||||
|
||||
%endif ; ifdef HAVE_AS_KNOWS_AVX512
|
||||
|
Loading…
x
Reference in New Issue
Block a user