summaryrefslogtreecommitdiff
path: root/libgfortran/generated/matmulavx128_i1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/matmulavx128_i1.c')
-rw-r--r--libgfortran/generated/matmulavx128_i1.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libgfortran/generated/matmulavx128_i1.c b/libgfortran/generated/matmulavx128_i1.c
index e1871578ea2..011de3ab5c3 100644
--- a/libgfortran/generated/matmulavx128_i1.c
+++ b/libgfortran/generated/matmulavx128_i1.c
@@ -272,6 +272,11 @@ matmul_i1_avx128_fma3 (gfc_array_i1 * 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_1)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
@@ -284,11 +289,6 @@ matmul_i1_avx128_fma3 (gfc_array_i1 * const restrict retarray,
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)
@@ -825,6 +825,11 @@ matmul_i1_avx128_fma4 (gfc_array_i1 * 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_1)0;
+
/* Early exit if possible */
if (m == 0 || n == 0 || k == 0)
return;
@@ -837,11 +842,6 @@ matmul_i1_avx128_fma4 (gfc_array_i1 * const restrict retarray,
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)