Skip to content

Commit 34da1a0

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

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

kernel/x86_64/nrm2.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
testq M, M
5959
jle .L999
6060
testq INCX, INCX
61-
jle .L999
61+
je .L999
6262

6363
salq $BASE_SHIFT, INCX
6464

kernel/x86_64/nrm2_sse.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
jle .L999
5858
pxor %xmm1, %xmm1
5959
testq INCX, INCX
60-
jle .L999
60+
je .L999
6161

6262
pxor %xmm2, %xmm2
6363
leaq (, INCX, SIZE), INCX

kernel/x86_64/znrm2.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
testq M, M
5959
jle .L999
6060
testq INCX, INCX
61-
jle .L999
61+
je .L999
6262

6363
salq $ZBASE_SHIFT, INCX
6464

kernel/x86_64/znrm2_sse.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
jle .L999
5959
pxor %xmm1, %xmm1
6060
testq INCX, INCX
61-
jle .L999
61+
je .L999
6262

6363
xorq FLAG, FLAG
6464

0 commit comments

Comments
 (0)