diff options
Diffstat (limited to 'kernel/generic/symm_ucopy_4.c')
-rw-r--r-- | kernel/generic/symm_ucopy_4.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kernel/generic/symm_ucopy_4.c b/kernel/generic/symm_ucopy_4.c index 9b9cff820..6dbb861e9 100644 --- a/kernel/generic/symm_ucopy_4.c +++ b/kernel/generic/symm_ucopy_4.c @@ -50,7 +50,7 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG posX, BLASLON while (js > 0){ offset = posX - posY; - + if (offset > 0) ao1 = a + posY + (posX + 0) * lda; else ao1 = a + posX + 0 + posY * lda; if (offset > -1) ao2 = a + posY + (posX + 1) * lda; else ao2 = a + posX + 1 + posY * lda; if (offset > -2) ao3 = a + posY + (posX + 2) * lda; else ao3 = a + posX + 2 + posY * lda; @@ -63,7 +63,7 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG posX, BLASLON data02 = *(ao2 + 0); data03 = *(ao3 + 0); data04 = *(ao4 + 0); - + if (offset > 0) ao1 ++; else ao1 += lda; if (offset > -1) ao2 ++; else ao2 += lda; if (offset > -2) ao3 ++; else ao3 += lda; @@ -86,7 +86,7 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG posX, BLASLON if (n & 2) { offset = posX - posY; - + if (offset > 0) ao1 = a + posY + (posX + 0) * lda; else ao1 = a + posX + 0 + posY * lda; if (offset > -1) ao2 = a + posY + (posX + 1) * lda; else ao2 = a + posX + 1 + posY * lda; @@ -95,7 +95,7 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG posX, BLASLON while (i > 0) { data01 = *(ao1 + 0); data02 = *(ao2 + 0); - + if (offset > 0) ao1 ++; else ao1 += lda; if (offset > -1) ao2 ++; else ao2 += lda; @@ -107,20 +107,20 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG posX, BLASLON offset --; i --; } - + posX += 2; } if (n & 1) { offset = posX - posY; - + if (offset > 0) ao1 = a + posY + (posX + 0) * lda; else ao1 = a + posX + 0 + posY * lda; i = m; while (i > 0) { data01 = *(ao1 + 0); - + if (offset > 0) ao1 ++; else ao1 += lda; b[ 0] = data01; |