mirror of
https://github.com/intel/isa-l.git
synced 2024-12-13 09:52:56 +01:00
igzip: Add missing USE_HSWNI defines
Change-Id: Ic3f2e1dada0c61e7b78068131fbea37023215844 Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
This commit is contained in:
parent
cfa1400557
commit
7da82d555f
@ -125,6 +125,9 @@ stack_size equ 2*8 + 8*8 + 4*16 + 8
|
||||
%endif
|
||||
|
||||
%rep 3
|
||||
%if ARCH == 04
|
||||
%define USE_HSWNI
|
||||
%endif
|
||||
; void isal_deflate_body ( isal_zstream *stream )
|
||||
; arg 1: rcx: addr of stream
|
||||
global isal_deflate_body_ %+ ARCH
|
||||
@ -543,6 +546,10 @@ isal_deflate_body_ %+ ARCH %+ :
|
||||
get_lit_code curr_data, code2, code_len2, hufftables
|
||||
jmp .write_lit_bits
|
||||
|
||||
%ifdef USE_HSWNI
|
||||
%undef USE_HSWNI
|
||||
%endif
|
||||
|
||||
;; Shift defines over in order to iterate over all versions
|
||||
%undef ARCH
|
||||
%xdefine ARCH ARCH1
|
||||
|
@ -132,6 +132,10 @@ stack_size equ 5*8 + 8*8 + 4*16
|
||||
%xdefine METHOD1 hash_hist
|
||||
|
||||
%rep 2
|
||||
%if ARCH == 04
|
||||
%define USE_HSWNI
|
||||
%endif
|
||||
|
||||
; void isal_deflate_icf_body <hashsize> <arch> ( isal_zstream *stream )
|
||||
; we make 6 different versions of this function
|
||||
; arg 1: rcx: addr of stream
|
||||
@ -516,6 +520,10 @@ isal_deflate_icf_body_ %+ METHOD %+ _ %+ ARCH %+ :
|
||||
jmp .input_end
|
||||
|
||||
|
||||
%ifdef USE_HSWNI
|
||||
%undef USE_HSWNI
|
||||
%endif
|
||||
|
||||
;; Shift defines over in order to iterate over all versions
|
||||
%undef HASH_MASK
|
||||
%xdefine HASH_MASK HASH_MASK1
|
||||
|
Loading…
Reference in New Issue
Block a user