From 33d3ab6e098e618a92a315e09a7a6e22a213ef87 Mon Sep 17 00:00:00 2001 From: wernsaar Date: Sat, 23 Nov 2013 12:35:31 +0100 Subject: [PATCH] small optimizations for zgemv kernels --- kernel/arm/zgemv_n.c | 62 +++++++++++++++++++++++++++++++++++++++------------- kernel/arm/zgemv_t.c | 53 +++++++++++++++++++++++++------------------- 2 files changed, 78 insertions(+), 37 deletions(-) diff --git a/kernel/arm/zgemv_n.c b/kernel/arm/zgemv_n.c index 5f00c34..dc2ffa0 100644 --- a/kernel/arm/zgemv_n.c +++ b/kernel/arm/zgemv_n.c @@ -26,7 +26,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ /************************************************************************************** - * * 2013/09/15 Saar + * * 2013/11/23 Saar * * BLASTEST float : OK * * BLASTEST double : OK * CTEST : OK @@ -48,20 +48,17 @@ int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1, FLOAT alpha_r, FLOAT alpha_i, BLASLONG lda2; BLASLONG i2; - if( alpha_r == 0.0 && alpha_i == 0.0 ) return(0); - lda2 = 2*lda; - inc_x2 = 2 * inc_x; - inc_y2 = 2 * inc_y; - ix = 0; a_ptr = a; -#if !defined(CONJ) - for (j=0; j