[ZARCH] Fix cgemv_t_4

This commit is contained in:
maamountki 2019-02-12 13:12:28 +02:00 committed by GitHub
parent 77fe70019f
commit f583674109
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -120,10 +120,10 @@ static void cgemv_kernel_4x4(BLASLONG n, FLOAT **ap, FLOAT *x, FLOAT *y,
"vfmasb %%v23,%%v31,%%v1,%%v23\n\t" "vfmasb %%v23,%%v31,%%v1,%%v23\n\t"
"agfi %%r1,16\n\t" "agfi %%r1,16\n\t"
"brctg %[n],0b\n\t" "brctg %[n],0b\n\t"
"vfadb %%v16,%%v16,%%v20\n\t" "vfasb %%v16,%%v16,%%v20\n\t"
"vfadb %%v17,%%v17,%%v21\n\t" "vfasb %%v17,%%v17,%%v21\n\t"
"vfadb %%v18,%%v18,%%v22\n\t" "vfasb %%v18,%%v18,%%v22\n\t"
"vfadb %%v19,%%v19,%%v23\n\t" "vfasb %%v19,%%v19,%%v23\n\t"
"vrepg %%v20,%%v16,1\n\t" "vrepg %%v20,%%v16,1\n\t"
"vrepg %%v21,%%v17,1\n\t" "vrepg %%v21,%%v17,1\n\t"
"vrepg %%v22,%%v18,1\n\t" "vrepg %%v22,%%v18,1\n\t"
@ -244,8 +244,8 @@ static void cgemv_kernel_4x2(BLASLONG n, FLOAT **ap, FLOAT *x, FLOAT *y,
"vfmasb %%v19,%%v23,%%v1,%%v19\n\t" "vfmasb %%v19,%%v23,%%v1,%%v19\n\t"
"agfi %%r1,16\n\t" "agfi %%r1,16\n\t"
"brctg %[n],0b\n\t" "brctg %[n],0b\n\t"
"vfadb %%v16,%%v16,%%v18\n\t" "vfasb %%v16,%%v16,%%v18\n\t"
"vfadb %%v17,%%v17,%%v19\n\t" "vfasb %%v17,%%v17,%%v19\n\t"
"vrepg %%v18,%%v16,1\n\t" "vrepg %%v18,%%v16,1\n\t"
"vrepg %%v19,%%v17,1\n\t" "vrepg %%v19,%%v17,1\n\t"
"vfasb %%v16,%%v16,%%v18\n\t" "vfasb %%v16,%%v16,%%v18\n\t"
@ -342,7 +342,7 @@ static void cgemv_kernel_4x1(BLASLONG n, FLOAT *ap, FLOAT *x, FLOAT *y,
"vfmasb %%v17,%%v19,%%v1,%%v17\n\t" "vfmasb %%v17,%%v19,%%v1,%%v17\n\t"
"agfi %%r1,16\n\t" "agfi %%r1,16\n\t"
"brctg %[n],0b\n\t" "brctg %[n],0b\n\t"
"vfadb %%v16,%%v16,%%v17\n\t" "vfasb %%v16,%%v16,%%v17\n\t"
"vrepg %%v17,%%v16,1\n\t" "vrepg %%v17,%%v16,1\n\t"
"vfasb %%v16,%%v16,%%v17\n\t" "vfasb %%v16,%%v16,%%v17\n\t"
"verllg %%v17,%%v16,32\n\t" "verllg %%v17,%%v16,32\n\t"