gcc/libgfortran/m4
Harald Anlauf b1bee29167 PR libfortran/99218 - matmul on temporary array accesses invalid memory
Do not invoke tuned rank-2 times rank-2 matmul if rank(b) == 1.

libgfortran/ChangeLog:

	PR libfortran/99218
	* m4/matmul_internal.m4: Invoke tuned matmul only for rank(b)>1.
	* generated/matmul_c10.c: Regenerated.
	* generated/matmul_c16.c: Likewise.
	* generated/matmul_c4.c: Likewise.
	* generated/matmul_c8.c: Likewise.
	* generated/matmul_i1.c: Likewise.
	* generated/matmul_i16.c: Likewise.
	* generated/matmul_i2.c: Likewise.
	* generated/matmul_i4.c: Likewise.
	* generated/matmul_i8.c: Likewise.
	* generated/matmul_r10.c: Likewise.
	* generated/matmul_r16.c: Likewise.
	* generated/matmul_r4.c: Likewise.
	* generated/matmul_r8.c: Likewise.
	* generated/matmulavx128_c10.c: Likewise.
	* generated/matmulavx128_c16.c: Likewise.
	* generated/matmulavx128_c4.c: Likewise.
	* generated/matmulavx128_c8.c: Likewise.
	* generated/matmulavx128_i1.c: Likewise.
	* generated/matmulavx128_i16.c: Likewise.
	* generated/matmulavx128_i2.c: Likewise.
	* generated/matmulavx128_i4.c: Likewise.
	* generated/matmulavx128_i8.c: Likewise.
	* generated/matmulavx128_r10.c: Likewise.
	* generated/matmulavx128_r16.c: Likewise.
	* generated/matmulavx128_r4.c: Likewise.
	* generated/matmulavx128_r8.c: Likewise.

gcc/testsuite/ChangeLog:

	PR libfortran/99218
	* gfortran.dg/matmul_21.f90: New test.
2021-03-05 20:58:51 +01:00
..
all.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
any.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
bessel.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
count.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
cshift0.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
cshift1.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
cshift1a.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
eoshift1.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
eoshift3.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
findloc0.m4
findloc0s.m4
findloc1.m4
findloc1s.m4
findloc2s.m4
head.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
iall.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
iany.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
ifindloc0.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
ifindloc1.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
ifindloc2.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
iforeach-s.m4
iforeach-s2.m4
iforeach.m4
ifunction-s.m4
ifunction-s2.m4
ifunction.m4
ifunction_logical.m4
in_pack.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
in_unpack.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
iparity.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
iparm.m4
matmul.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
matmul_internal.m4 PR libfortran/99218 - matmul on temporary array accesses invalid memory 2021-03-05 20:58:51 +01:00
matmulavx128.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
matmull.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
maxloc0.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
maxloc0s.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
maxloc1.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
maxloc1s.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
maxloc2s.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
maxval.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
maxval0s.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
maxval1s.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
minloc0.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
minloc0s.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
minloc1.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
minloc1s.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
minloc2s.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
minval.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
minval0s.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
minval1s.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
misc_specifics.m4
mtype.m4
norm2.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
pack.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
parity.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
pow.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
product.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
reshape.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
shape.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
specific.m4
specific2.m4
spread.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
sum.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
types.m4
unpack.m4 Update copyright years. 2021-01-04 10:26:59 +01:00