+2017-06-06 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/80975
+ * gfortran.dg/matmul_16.f90: New test.
+ * gfortran.dg/inline_matmul_18.f90: New test.
+
2017-06-06 Marek Polacek <polacek@redhat.com>
PR c/79983
--- /dev/null
+! { dg-do run }
+! { dg-options "-O -finline-matmul-limit=100 -fdump-tree-optimized" }
+! PR 80975 - this did not zero the result array in the library version;
+! make sure this also doesn't happen in the inline version.
+program bogus_matmul
+ implicit none
+ real :: M(3,0), v(0), w(3)
+
+ w = 7
+ w = matmul(M,v)
+ if( any(w .ne. 0) ) then
+ call abort
+ end if
+end program bogus_matmul
+! { dg-final { scan-tree-dump-times "matmul_r4" 0 "optimized" } }
+
--- /dev/null
+! { dg-do run }
+! { dg-options "-finline-matmul-limit=0" }
+! PR 80975 - this did not zero the result array
+program bogus_matmul
+ implicit none
+ real :: M(3,0), v(0), w(3)
+
+ w = 7
+ w = matmul(M,v)
+ if( any(w .ne. 0) ) then
+ call abort
+ end if
+end program bogus_matmul
+2017-06-06 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/80975
+ * m4/matmul_internal.m4: Move zeroing before early return.
+ * generated/matmul_c10.c: Regenerated.
+ * generated/matmul_c16.c: Regenerated.
+ * generated/matmul_c4.c: Regenerated.
+ * generated/matmul_c8.c: Regenerated.
+ * generated/matmul_i1.c: Regenerated.
+ * generated/matmul_i16.c: Regenerated.
+ * generated/matmul_i2.c: Regenerated.
+ * generated/matmul_i4.c: Regenerated.
+ * generated/matmul_i8.c: Regenerated.
+ * generated/matmul_r10.c: Regenerated.
+ * generated/matmul_r16.c: Regenerated.
+ * generated/matmul_r4.c: Regenerated.
+ * generated/matmul_r8.c: Regenerated.
+ * generated/matmulavx128_c10.c: Regenerated.
+ * generated/matmulavx128_c16.c: Regenerated.
+ * generated/matmulavx128_c4.c: Regenerated.
+ * generated/matmulavx128_c8.c: Regenerated.
+ * generated/matmulavx128_i1.c: Regenerated.
+ * generated/matmulavx128_i16.c: Regenerated.
+ * generated/matmulavx128_i2.c: Regenerated.
+ * generated/matmulavx128_i4.c: Regenerated.
+ * generated/matmulavx128_i8.c: Regenerated.
+ * generated/matmulavx128_r10.c: Regenerated.
+ * generated/matmulavx128_r16.c: Regenerated.
+ * generated/matmulavx128_r4.c: Regenerated.
+ * generated/matmulavx128_r8.c: Regenerated.
+
2017-05-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/53029
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_1)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_1));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_1)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_1)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_1));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_1)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_1)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_1));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_1)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_1)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_1));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_1)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_1)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_1));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_1)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_2)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_2));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_2)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_2)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_2));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_2)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_2)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_2));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_2)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_2)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_2));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_2)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_2)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_2));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_2)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_COMPLEX_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_COMPLEX_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_1)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_1));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_1)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_1)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_1));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_1)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_2)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_2));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_2)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_2)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_2));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_2)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_INTEGER_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_INTEGER_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_INTEGER_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_10)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_10));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_10)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_16)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_16));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_16)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_4)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_4));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_4)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = (GFC_REAL_8)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof(GFC_REAL_8));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = (GFC_REAL_8)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)
b_offset = 1 + b_dim1;
b -= b_offset;
+ /* Empty c first. */
+ for (j=1; j<=n; j++)
+ for (i=1; i<=m; i++)
+ c[i + j * c_dim1] = ('rtype_name`)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
t1 = malloc (t1_dim * sizeof('rtype_name`));
- /* Empty c first. */
- for (j=1; j<=n; j++)
- for (i=1; i<=m; i++)
- c[i + j * c_dim1] = ('rtype_name`)0;
-
/* Start turning the crank. */
i1 = n;
for (jj = 1; jj <= i1; jj += 512)