Skip to content

Commit 5802e7a

Browse files
authored
Merge pull request #4559 from martin-frbg/issue4551-2
Remove another unwanted early exit in the ThunderX2/NeoN1/AppleM ?NRM2 kernels
2 parents 161ac17 + 552c521 commit 5802e7a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

kernel/arm64/dznrm2_thunderx2t99.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static void nrm2_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x,
7777
" cmp "N", xzr \n"
7878
" ble 9f //nrm2_kernel_L999 \n"
7979
" cmp "INC_X", xzr \n"
80-
" ble 9f //nrm2_kernel_L999 \n"
80+
" beq 9f //nrm2_kernel_L999 \n"
8181

8282
"1: //nrm2_kernel_F_BEGIN: \n"
8383
" mov x6, #0x7FF0000000000000 //+Infinity \n"

kernel/arm64/scnrm2_thunderx2t99.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ static double nrm2_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x)
229229
" cmp "N", xzr \n"
230230
" ble 9f //nrm2_kernel_L999 \n"
231231
" cmp "INC_X", xzr \n"
232-
" ble 9f //nrm2_kernel_L999 \n"
232+
" beq 9f //nrm2_kernel_L999 \n"
233233
" cmp "INC_X", #1 \n"
234234
" bne 5f //nrm2_kernel_S_BEGIN \n"
235235

0 commit comments

Comments
 (0)