aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/matmul_i2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/matmul_i2.c')
-rw-r--r--libgfortran/generated/matmul_i2.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/libgfortran/generated/matmul_i2.c b/libgfortran/generated/matmul_i2.c
index d541fa3..4e21651 100644
--- a/libgfortran/generated/matmul_i2.c
+++ b/libgfortran/generated/matmul_i2.c
@@ -307,6 +307,11 @@ matmul_i2_avx (gfc_array_i2 * const restrict retarray,
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;
@@ -319,11 +324,6 @@ matmul_i2_avx (gfc_array_i2 * const restrict retarray,
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)
@@ -859,6 +859,11 @@ matmul_i2_avx2 (gfc_array_i2 * const restrict retarray,
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;
@@ -871,11 +876,6 @@ matmul_i2_avx2 (gfc_array_i2 * const restrict retarray,
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)
@@ -1411,6 +1411,11 @@ matmul_i2_avx512f (gfc_array_i2 * const restrict retarray,
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;
@@ -1423,11 +1428,6 @@ matmul_i2_avx512f (gfc_array_i2 * const restrict retarray,
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)
@@ -1977,6 +1977,11 @@ matmul_i2_vanilla (gfc_array_i2 * const restrict retarray,
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;
@@ -1989,11 +1994,6 @@ matmul_i2_vanilla (gfc_array_i2 * const restrict retarray,
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)
@@ -2603,6 +2603,11 @@ matmul_i2 (gfc_array_i2 * const restrict retarray,
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;
@@ -2615,11 +2620,6 @@ matmul_i2 (gfc_array_i2 * const restrict retarray,
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)