Skip to content

Commit 7dd441d

Browse files
authored
Allow negative INCX (API change from version 3.10 of the reference implementation)
1 parent f692178 commit 7dd441d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

kernel/mips64/cnrm2.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
blez N, .L999
7878
mov.d s2, s1
7979

80-
blez INCX, .L999
80+
beqz INCX, .L999
8181
dsll INCX, INCX, ZBASE_SHIFT
8282

8383
dsra I, N, 2

kernel/mips64/dnrm2.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
blez N, .L999
8282
MTC $0, s1
8383

84-
blez INCX, .L999
84+
beqz INCX, .L999
8585
dsll INCX, INCX, BASE_SHIFT
8686

8787
move XX, X

kernel/mips64/snrm2.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
blez N, .L999
7878
mov.d s2, s1
7979

80-
blez INCX, .L999
80+
beqz INCX, .L999
8181
dsll INCX, INCX, BASE_SHIFT
8282

8383
bne INCX, TEMP, .L20

kernel/mips64/znrm2.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
blez N, .L999
8181
MTC $0, s1
8282

83-
blez INCX, .L999
83+
beqz INCX, .L999
8484
dsll INCX, INCX, ZBASE_SHIFT
8585

8686
move XX, X

0 commit comments

Comments
 (0)