#include "common.h" #include int CNAME(BLASLONG bm,BLASLONG bn,BLASLONG bk,FLOAT alpha,FLOAT* ba,FLOAT* bb,FLOAT* C,BLASLONG ldc ,BLASLONG offset) { BLASLONG i,j,k; FLOAT *C0,*C1,*C2,*C3,*C4,*C5,*C6,*C7,*ptrba,*ptrbb; FLOAT res0_0; FLOAT res0_1; FLOAT res0_2; FLOAT res0_3; FLOAT res1_0; FLOAT res1_1; FLOAT res1_2; FLOAT res1_3; FLOAT res2_0; FLOAT res2_1; FLOAT res2_2; FLOAT res2_3; FLOAT res3_0; FLOAT res3_1; FLOAT res3_2; FLOAT res3_3; FLOAT res4_0; FLOAT res4_1; FLOAT res4_2; FLOAT res4_3; FLOAT res5_0; FLOAT res5_1; FLOAT res5_2; FLOAT res5_3; FLOAT res6_0; FLOAT res6_1; FLOAT res6_2; FLOAT res6_3; FLOAT res7_0; FLOAT res7_1; FLOAT res7_2; FLOAT res7_3; FLOAT a0; FLOAT a1; FLOAT b0; FLOAT b1; FLOAT b2; FLOAT b3; FLOAT b4; FLOAT b5; FLOAT b6; FLOAT b7; BLASLONG off, temp; bool left; bool transposed; bool backwards; #ifdef LEFT left = true; #else left = false; #endif #ifdef TRANSA transposed = true; #else transposed = false; #endif backwards = left != transposed; if (!left) { off = -offset; } for (j=0; j