summaryrefslogtreecommitdiff
path: root/libgfortran/generated/matmul_r10.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/matmul_r10.c')
-rw-r--r--libgfortran/generated/matmul_r10.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libgfortran/generated/matmul_r10.c b/libgfortran/generated/matmul_r10.c
index c4545e43479..d4f13114734 100644
--- a/libgfortran/generated/matmul_r10.c
+++ b/libgfortran/generated/matmul_r10.c
@@ -318,7 +318,7 @@ matmul_r10_avx (gfc_array_r10 * const restrict retarray,
/* Adjust size of t1 to what is needed. */
index_type t1_dim;
- t1_dim = (a_dim1-1) * 256 + b_dim1;
+ t1_dim = (a_dim1 - (ycount > 1)) * 256 + b_dim1;
if (t1_dim > 65536)
t1_dim = 65536;
@@ -870,7 +870,7 @@ matmul_r10_avx2 (gfc_array_r10 * const restrict retarray,
/* Adjust size of t1 to what is needed. */
index_type t1_dim;
- t1_dim = (a_dim1-1) * 256 + b_dim1;
+ t1_dim = (a_dim1 - (ycount > 1)) * 256 + b_dim1;
if (t1_dim > 65536)
t1_dim = 65536;
@@ -1422,7 +1422,7 @@ matmul_r10_avx512f (gfc_array_r10 * const restrict retarray,
/* Adjust size of t1 to what is needed. */
index_type t1_dim;
- t1_dim = (a_dim1-1) * 256 + b_dim1;
+ t1_dim = (a_dim1 - (ycount > 1)) * 256 + b_dim1;
if (t1_dim > 65536)
t1_dim = 65536;
@@ -1988,7 +1988,7 @@ matmul_r10_vanilla (gfc_array_r10 * const restrict retarray,
/* Adjust size of t1 to what is needed. */
index_type t1_dim;
- t1_dim = (a_dim1-1) * 256 + b_dim1;
+ t1_dim = (a_dim1 - (ycount > 1)) * 256 + b_dim1;
if (t1_dim > 65536)
t1_dim = 65536;
@@ -2614,7 +2614,7 @@ matmul_r10 (gfc_array_r10 * const restrict retarray,
/* Adjust size of t1 to what is needed. */
index_type t1_dim;
- t1_dim = (a_dim1-1) * 256 + b_dim1;
+ t1_dim = (a_dim1 - (ycount > 1)) * 256 + b_dim1;
if (t1_dim > 65536)
t1_dim = 65536;