gcc/libgfortran/m4
Thomas Koenig e56e3fda60 re PR fortran/52473 (CSHIFT slow - inline it?)
2017-06-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/52473
	* Makefile.am:  Add i_cshift1a_c.  Add rules to generate files
	from cshift1a.m4.
	* Makefile.in: Regenerated.
	* m4/cshift1a.m4: New file.
	* m4/cshift.m4 (cshift1): Split up inner loop by removing
	condition. Use memcpy where possible.  Call helper functions
	based on dtype.
	* libgfortran.h: Add prototypes for cshift1_16_c10,
	cshift1_16_c16, cshift1_16_c4, cshift1_16_c8, cshift1_16_i1,
	cshift1_16_i16, cshift1_16_i2, cshift1_16_i4, cshift1_16_i8,
	cshift1_16_r10, cshift1_16_r16, cshift1_16_r4, cshift1_16_r8,
	cshift1_4_c10, cshift1_4_c16, cshift1_4_c4, cshift1_4_c8,
	cshift1_4_i1, cshift1_4_i16, cshift1_4_i2, cshift1_4_i4,
	cshift1_4_i8, cshift1_4_r10, cshift1_4_r16, cshift1_4_r4,
	cshift1_4_r8, cshift1_8_c10, cshift1_8_c16, cshift1_8_c4,
	cshift1_8_c8, cshift1_8_i1, cshift1_8_i16, cshift1_8_i2,
	cshift1_8_i4, cshift1_8_i8, cshift1_8_r10, cshift1_8_r16,
	cshift1_8_r4 and cshift1_8_r8.
	* generated/cshift1_16_c10.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_c16.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_c4.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_c8.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_i1.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_i16.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_i2.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_i4.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_i8.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_r10.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_r16.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_r4.c: New file, generated from cshift1a.m4.
	* generated/cshift1_16_r8.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_c10.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_c16.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_c4.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_c8.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_i1.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_i16.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_i2.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_i4.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_i8.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_r10.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_r16.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_r4.c: New file, generated from cshift1a.m4.
	* generated/cshift1_4_r8.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_c10.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_c16.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_c4.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_c8.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_i1.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_i16.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_i2.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_i4.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_i8.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_r10.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_r16.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_r4.c: New file, generated from cshift1a.m4.
	* generated/cshift1_8_r8.c: New file, generated from cshift1a.m4.

2017-06-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/52473
	* gfortran.dg/cshift_2.f90:  New test.

From-SVN: r249620
2017-06-24 07:07:56 +00:00
..
all.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
any.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
bessel.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
count.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
cshift0.m4 re PR fortran/52473 (CSHIFT slow - inline it?) 2017-06-18 18:04:19 +00:00
cshift1.m4 re PR fortran/52473 (CSHIFT slow - inline it?) 2017-06-24 07:07:56 +00:00
cshift1a.m4 re PR fortran/52473 (CSHIFT slow - inline it?) 2017-06-24 07:07:56 +00:00
eoshift1.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
eoshift3.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
head.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
iall.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
iany.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
iforeach.m4 re PR libfortran/79956 (many new -Wmaybe-uninitialized warnings with bootstrap-O3) 2017-03-10 19:42:46 +00:00
ifunction_logical.m4 re PR libfortran/79956 (many new -Wmaybe-uninitialized warnings with bootstrap-O3) 2017-03-10 19:42:46 +00:00
ifunction.m4 re PR libfortran/79956 (many new -Wmaybe-uninitialized warnings with bootstrap-O3) 2017-03-10 19:42:46 +00:00
in_pack.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
in_unpack.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
iparity.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
iparm.m4
matmul_internal.m4 re PR fortran/80975 (matmul for zero-length arrays) 2017-06-06 19:18:37 +00:00
matmul.m4 re PR libfortran/78379 (Processor-specific versions for matmul) 2017-05-25 21:51:27 +00:00
matmulavx128.m4 re PR libfortran/78379 (Processor-specific versions for matmul) 2017-05-25 21:51:27 +00:00
matmull.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
maxloc0.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
maxloc1.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
maxval.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
minloc0.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
minloc1.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
minval.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
misc_specifics.m4
mtype.m4
norm2.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
pack.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
parity.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
pow.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
product.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
reshape.m4 re PR libfortran/79956 (many new -Wmaybe-uninitialized warnings with bootstrap-O3) 2017-03-17 21:27:08 +00:00
shape.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
specific2.m4
specific.m4
spread.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
sum.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
types.m4
unpack.m4 Update copyright years. 2017-01-01 13:07:43 +01:00