Skip to content

Commit a07807c

Browse files
authored
Eliminate loop code when called as/from dsdot
1 parent 5e3e91d commit a07807c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/x86_64/sdot_microk_haswell-2.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,11 @@ static void sdot_kernel_16( BLASLONG n, FLOAT *x, FLOAT *y, FLOAT *dot)
5353
"vfmadd231ps 64(%3,%0,4), %%ymm14, %%ymm6 \n\t" // 2 * y
5454
"vfmadd231ps 96(%3,%0,4), %%ymm15, %%ymm7 \n\t" // 2 * y
5555

56+
#ifndef DSDOT
5657
"addq $32 , %0 \n\t"
5758
"subq $32 , %1 \n\t"
5859
"jnz 1b \n\t"
60+
#endif
5961

6062
"vextractf128 $1 , %%ymm4 , %%xmm12 \n\t"
6163
"vextractf128 $1 , %%ymm5 , %%xmm13 \n\t"

0 commit comments

Comments
 (0)