Skip to content

Commit

Permalink
erasure_code: fix modules using incorrect unsigned jump
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Cornu <[email protected]>
  • Loading branch information
mdcornu authored and pablodelara committed Dec 14, 2023
1 parent a53a20e commit 561a419
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion erasure_code/gf_2vect_dot_prod_avx512_gfni.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions erasure_code/gf_3vect_dot_prod_avx2_gfni.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion erasure_code/gf_3vect_dot_prod_avx512_gfni.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions erasure_code/gf_3vect_mad_avx2_gfni.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion erasure_code/gf_4vect_dot_prod_avx512_gfni.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion erasure_code/gf_4vect_mad_avx2_gfni.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion erasure_code/gf_5vect_dot_prod_avx512_gfni.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion erasure_code/gf_5vect_mad_avx2_gfni.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion erasure_code/gf_6vect_dot_prod_avx512_gfni.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion erasure_code/gf_vect_dot_prod_avx512_gfni.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
6 changes: 3 additions & 3 deletions erasure_code/gf_vect_mad_avx2_gfni.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 561a419

Please sign in to comment.