From: Martin Kroeker Date: Wed, 25 Oct 2017 14:45:41 +0000 (+0200) Subject: Eliminate loop code when called as/from dsdot X-Git-Tag: v0.3.0~66^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a07807caac631234250a7c1b487812b62265df0e;p=platform%2Fupstream%2Fopenblas.git Eliminate loop code when called as/from dsdot --- 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"