Browse Source

core.IdenticalExpr clang501 checker

tags/v0.3.0
Andrew 8 years ago
parent
commit
4938faa822
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      kernel/x86_64/dtrmm_kernel_4x8_haswell.c

+ 6
- 6
kernel/x86_64/dtrmm_kernel_4x8_haswell.c View File

@@ -777,9 +777,9 @@ int CNAME(BLASLONG bm,BLASLONG bn,BLASLONG bk,FLOAT alpha,FLOAT* ba,FLOAT* bb,FL
res3_2 = 0; res3_2 = 0;
res3_3 = 0; res3_3 = 0;


temp = backwards ? bk-off :
left ? off + 4 : // number of values in A
off + 4; // number of values in B
temp = backwards ? bk-off : off + 4;
/* left ? off + 4 : // number of values in A
off + 4; // number of values in B */


for (k=0; k<temp; k++) for (k=0; k<temp; k++)
{ {
@@ -857,9 +857,9 @@ int CNAME(BLASLONG bm,BLASLONG bn,BLASLONG bk,FLOAT alpha,FLOAT* ba,FLOAT* bb,FL
C3[3] = res3_3; C3[3] = res3_3;


if (!backwards) { if (!backwards) {
temp = bk-off;
temp = left ? temp - 4 : // number of values in A
temp - 4; // number of values in B
temp = bk-off - 4;
/* temp = left ? temp - 4 : // number of values in A
temp - 4; // number of values in B */


ptrba += temp*4; // number of values in A ptrba += temp*4; // number of values in A
ptrbb += temp*4; // number of values in B ptrbb += temp*4; // number of values in B


Loading…
Cancel
Save