diff --git a/erasure_code/gf_2vect_dot_prod_avx512_gfni.asm b/erasure_code/gf_2vect_dot_prod_avx512_gfni.asm index e405ee3..8e9827f 100644 --- a/erasure_code/gf_2vect_dot_prod_avx512_gfni.asm +++ b/erasure_code/gf_2vect_dot_prod_avx512_gfni.asm @@ -177,7 +177,7 @@ func(gf_2vect_dot_prod_avx512_gfni) mov dest1, [dest1] cmp len, 64 - jb .len_lt_64 + jl .len_lt_64 .loop64: diff --git a/erasure_code/gf_3vect_dot_prod_avx2_gfni.asm b/erasure_code/gf_3vect_dot_prod_avx2_gfni.asm index 967c391..093f770 100644 --- a/erasure_code/gf_3vect_dot_prod_avx2_gfni.asm +++ b/erasure_code/gf_3vect_dot_prod_avx2_gfni.asm @@ -300,7 +300,7 @@ func(gf_3vect_dot_prod_avx2_gfni) mov dest3, [dest + 2*8] cmp len, 64 - jb .len_lt_64 + jl .len_lt_64 .loop64: ENCODE_64B_3 @@ -312,7 +312,7 @@ func(gf_3vect_dot_prod_avx2_gfni) .len_lt_64: cmp len, 32 - jb .len_lt_32 + jl .len_lt_32 ENCODE_32B_3 diff --git a/erasure_code/gf_3vect_dot_prod_avx512_gfni.asm b/erasure_code/gf_3vect_dot_prod_avx512_gfni.asm index ec9afa8..9f167cf 100644 --- a/erasure_code/gf_3vect_dot_prod_avx512_gfni.asm +++ b/erasure_code/gf_3vect_dot_prod_avx512_gfni.asm @@ -193,7 +193,7 @@ func(gf_3vect_dot_prod_avx512_gfni) mov dest1, [dest1] cmp len, 64 - jb .len_lt_64 + jl .len_lt_64 .loop64: diff --git a/erasure_code/gf_3vect_mad_avx2_gfni.asm b/erasure_code/gf_3vect_mad_avx2_gfni.asm index 3469418..5f7e41e 100644 --- a/erasure_code/gf_3vect_mad_avx2_gfni.asm +++ b/erasure_code/gf_3vect_mad_avx2_gfni.asm @@ -241,7 +241,7 @@ func(gf_3vect_mad_avx2_gfni) mov dest1, [dest1] cmp len, 64 - jb .len_lt_64 + jl .len_lt_64 .loop64: ENCODE_64B_3 ;; loop on 64 bytes at a time @@ -253,7 +253,7 @@ func(gf_3vect_mad_avx2_gfni) .len_lt_64: cmp len, 32 - jb .len_lt_32 + jl .len_lt_32 ENCODE_32B_3 ;; encode next 32 bytes diff --git a/erasure_code/gf_4vect_dot_prod_avx512_gfni.asm b/erasure_code/gf_4vect_dot_prod_avx512_gfni.asm index 9472f97..203b6e8 100644 --- a/erasure_code/gf_4vect_dot_prod_avx512_gfni.asm +++ b/erasure_code/gf_4vect_dot_prod_avx512_gfni.asm @@ -221,7 +221,7 @@ func(gf_4vect_dot_prod_avx512_gfni) mov dest1, [dest1] cmp len, 64 - jb .len_lt_64 + jl .len_lt_64 .loop64: diff --git a/erasure_code/gf_4vect_mad_avx2_gfni.asm b/erasure_code/gf_4vect_mad_avx2_gfni.asm index 7ec153a..9dbfd70 100644 --- a/erasure_code/gf_4vect_mad_avx2_gfni.asm +++ b/erasure_code/gf_4vect_mad_avx2_gfni.asm @@ -213,7 +213,7 @@ func(gf_4vect_mad_avx2_gfni) mov dest1, [dest1] cmp len, 32 - jb .len_lt_32 + jl .len_lt_32 .loop32: ENCODE_32B_4 ;; loop on 32 bytes at a time diff --git a/erasure_code/gf_5vect_dot_prod_avx512_gfni.asm b/erasure_code/gf_5vect_dot_prod_avx512_gfni.asm index 1e9b308..91d91c9 100644 --- a/erasure_code/gf_5vect_dot_prod_avx512_gfni.asm +++ b/erasure_code/gf_5vect_dot_prod_avx512_gfni.asm @@ -242,7 +242,7 @@ func(gf_5vect_dot_prod_avx512_gfni) mov dest1, [dest1] cmp len, 64 - jb .len_lt_64 + jl .len_lt_64 .loop64: diff --git a/erasure_code/gf_5vect_mad_avx2_gfni.asm b/erasure_code/gf_5vect_mad_avx2_gfni.asm index c1c3b6c..3987d0e 100644 --- a/erasure_code/gf_5vect_mad_avx2_gfni.asm +++ b/erasure_code/gf_5vect_mad_avx2_gfni.asm @@ -239,7 +239,7 @@ func(gf_5vect_mad_avx2_gfni) mov dest1, [dest1] cmp len, 32 - jb .len_lt_32 + jl .len_lt_32 .loop32: ENCODE_32B_5 ;; loop on 32 bytes at a time diff --git a/erasure_code/gf_6vect_dot_prod_avx512_gfni.asm b/erasure_code/gf_6vect_dot_prod_avx512_gfni.asm index c4856bf..5af9209 100644 --- a/erasure_code/gf_6vect_dot_prod_avx512_gfni.asm +++ b/erasure_code/gf_6vect_dot_prod_avx512_gfni.asm @@ -260,7 +260,7 @@ func(gf_6vect_dot_prod_avx512_gfni) mov dest5, [dest1 + 4*8] ;dest1 and dest6 are calculated later cmp len, 64 - jb .len_lt_64 + jl .len_lt_64 .loop64: diff --git a/erasure_code/gf_vect_dot_prod_avx512_gfni.asm b/erasure_code/gf_vect_dot_prod_avx512_gfni.asm index 9b0e31d..61aed8f 100644 --- a/erasure_code/gf_vect_dot_prod_avx512_gfni.asm +++ b/erasure_code/gf_vect_dot_prod_avx512_gfni.asm @@ -158,7 +158,7 @@ func(gf_vect_dot_prod_avx512_gfni) shl vec, 3 ;vec *= 8. Make vec_i count by 8 cmp len, 64 - jb .len_lt_64 + jl .len_lt_64 .loop64: diff --git a/erasure_code/gf_vect_mad_avx2_gfni.asm b/erasure_code/gf_vect_mad_avx2_gfni.asm index 1d46336..2397db3 100644 --- a/erasure_code/gf_vect_mad_avx2_gfni.asm +++ b/erasure_code/gf_vect_mad_avx2_gfni.asm @@ -212,7 +212,7 @@ func(gf_vect_mad_avx2_gfni) vbroadcastsd xgft1, [tmp] cmp len, 96 - jb .len_lt_96 + jl .len_lt_96 .loop96: ENCODE_96B ;; loop on 96 bytes at a time @@ -223,7 +223,7 @@ func(gf_vect_mad_avx2_gfni) .len_lt_96: cmp len, 64 - jb .len_lt_64 + jl .len_lt_64 ENCODE_64B ;; encode next 64 bytes @@ -232,7 +232,7 @@ func(gf_vect_mad_avx2_gfni) .len_lt_64: cmp len, 32 - jb .len_lt_32 + jl .len_lt_32 ENCODE_32B ;; encode next 32 bytes