diff options
Diffstat (limited to 'kernel/generic/zhemm3m_lcopy_2.c')
-rw-r--r-- | kernel/generic/zhemm3m_lcopy_2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/generic/zhemm3m_lcopy_2.c b/kernel/generic/zhemm3m_lcopy_2.c index f0da12cca..517ed645d 100644 --- a/kernel/generic/zhemm3m_lcopy_2.c +++ b/kernel/generic/zhemm3m_lcopy_2.c @@ -71,7 +71,7 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG posX, BLASLON js = (n >> 1); while (js > 0){ offset = posX - posY; - + if (offset > 0) ao1 = a + (posX + 0) * 2 + posY * lda; else ao1 = a + posY * 2 + (posX + 0) * lda; if (offset > -1) ao2 = a + (posX + 1) * 2 + posY * lda; else ao2 = a + posY * 2 + (posX + 1) * lda; @@ -116,7 +116,7 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG posX, BLASLON if (n & 1) { offset = posX - posY; - + if (offset > 0) ao1 = a + (posX + 0) * 2 + posY * lda; else ao1 = a + posY * 2 + (posX + 0) * lda; i = m; |