Skip to content

Commit 07e32c4

Browse files
authored
Allow negative INCX (API change from version 3.10 of the reference implementation)
1 parent c211da0 commit 07e32c4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

kernel/x86/nrm2.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
testl M, M
7979
jle .L999
8080
testl INCX, INCX
81-
jle .L999
81+
je .L999
8282

8383
sall $BASE_SHIFT, INCX
8484
fldz

kernel/x86/nrm2_sse.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
jle .L999
7070
pxor %xmm1, %xmm1
7171
testl INCX, INCX
72-
jle .L999
72+
je .L999
7373

7474
leal (, INCX, SIZE), INCX
7575
cmpl $SIZE, INCX

kernel/x86/znrm2.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
testl M, M
7979
jle .L999
8080
testl INCX, INCX
81-
jle .L999
81+
je .L999
8282

8383
sall $ZBASE_SHIFT, INCX
8484
fldz

kernel/x86/znrm2_sse.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
jle .L999
7070
pxor %xmm1, %xmm1
7171
testl INCX, INCX
72-
jle .L999
72+
je .L999
7373

7474
sall $ZBASE_SHIFT, INCX
7575

0 commit comments

Comments
 (0)