From a07807caac631234250a7c1b487812b62265df0e Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 25 Oct 2017 16:45:41 +0200 Subject: [PATCH] Eliminate loop code when called as/from dsdot --- kernel/x86_64/sdot_microk_haswell-2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/x86_64/sdot_microk_haswell-2.c b/kernel/x86_64/sdot_microk_haswell-2.c index 4051f9c..3248c40 100644 --- a/kernel/x86_64/sdot_microk_haswell-2.c +++ b/kernel/x86_64/sdot_microk_haswell-2.c @@ -53,9 +53,11 @@ static void sdot_kernel_16( BLASLONG n, FLOAT *x, FLOAT *y, FLOAT *dot) "vfmadd231ps 64(%3,%0,4), %%ymm14, %%ymm6 \n\t" // 2 * y "vfmadd231ps 96(%3,%0,4), %%ymm15, %%ymm7 \n\t" // 2 * y +#ifndef DSDOT "addq $32 , %0 \n\t" "subq $32 , %1 \n\t" "jnz 1b \n\t" +#endif "vextractf128 $1 , %%ymm4 , %%xmm12 \n\t" "vextractf128 $1 , %%ymm5 , %%xmm13 \n\t" -- 2.7.4