gcc/libgfortran
Thomas Koenig 8e1d7686de re PR libfortran/32972 (performance of pack/unpack)
2008-03-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/32972
	* Makefile.am (in_pack_c): Add in_pack_i1.c, in_pack_i2.c,
	in_pack_r4.c, in_pack_r8.c, in_pack_r10.c and in_pack_r16.c.
	(in_unpack_c): Add in_unpack_i1.c, in_unpack_i2.c,
	in_unpack_r4.c, in_unpack_r8.c, in_unpack_r10.c and
	in_unpack_r16.c.
	* Makefile.in: Regenerate.
	* libgfortran.h:  Add prototypes for internal_pack_1,
	internal_pack_2, internal_pack_16, internal_pack_r4,
	internal_pack_r8, internal_pack_r10, internal_pack_r16,
	internal_pack_c10 and internal_pack_c16.  Add prototypes for
	internal_unpack_1, internal_unpack_2, internal_unpack_16,
	internal_unpack_r4, internal_unpack_r8, internal_unpack_r10,
	internal_unpack_r16, internal_unpack_c10 and
	internal_unpack_c16.
	* runtime/in_pack_generic.c (internal_pack): Use sizeof instead
	of hardwired sizes.
	Add calls to internal_pack_1, internal_pack_2,
	internal_pack_16, internal_pack_r4, internal_pack_r8,
	internal_pack_r10, internal_pack_r16, internal_pack_c10 and
	internal_pack_c16.
	* runtime/in_unpack_generic.c (internal_unpack):  Use sizeof
	instead of hardwired sizes.
	Add calls to internal_unpack_1, internal_unpack_2,
	internal_unpack_16, internal_unpack_r4, internal_unpack_r8,
	internal_unpack_r10, internal_unpack_r16, internal_unpack_c10
	and internal_unpack_c16.
	* generated/in_pack_r4.c:  New file.
	* generated/in_pack_i2.c:  New file.
	* generated/in_unpack_i1.c:  New file.
	* generated/in_pack_r10.c:  New file.
	* generated/in_unpack_r4.c:  New file.
	* generated/in_unpack_i2.c:  New file.
	* generated/in_unpack_r16.c:  New file.
	* generated/in_pack_r8.c:  New file.
	* generated/in_unpack_r10.c:  New file.
	* generated/in_unpack_r8.c:  New file.
	* generated/in_pack_r16.c:  New file.
	* generated/in_pack_i1.c:  New file.

2008-03-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/32972
	* gfortran.dg/internal_pack_1.f90:  New test case.
	* gfortran.dg/internal_pack_2.f90:  New test case.
	* gfortran.dg/internal_pack_3.f90:  New test case.

From-SVN: r133344
2008-03-19 15:42:55 +00:00
..
config fpu-387.h: Include cpuid.h. 2007-09-07 11:34:36 +02:00
generated re PR libfortran/32972 (performance of pack/unpack) 2008-03-19 15:42:55 +00:00
intrinsics re PR libfortran/35524 (Unconditional use of expl() in libgfortran) 2008-03-12 10:24:29 +00:00
io re PR fortran/35617 (read namelist error) 2008-03-18 04:27:56 +00:00
m4 ifunction_logical.m4: Add casts to get rid of warnings. 2008-02-25 12:02:56 +00:00
runtime re PR libfortran/32972 (performance of pack/unpack) 2008-03-19 15:42:55 +00:00
acinclude.m4 re PR libfortran/32841 (HUGE(1.0_16) output as +Infinity on ppc-darwin8 (gfortran.dg/large_real_kind_2.F90)) 2008-02-24 11:59:09 +00:00
aclocal.m4 configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
c99_protos.h re PR libfortran/33583 (FAIL: gfortran.dg/gamma_1.f90) 2007-11-16 22:31:28 +00:00
ChangeLog re PR libfortran/32972 (performance of pack/unpack) 2008-03-19 15:42:55 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2005 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2006 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2007 Rotate Fortran ChangeLogs. 2008-01-02 18:54:50 +01:00
config.h.in re PR fortran/33197 (Fortran 2008: math functions) 2008-03-03 23:46:20 +00:00
configure configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
configure.ac re PR libfortran/33583 (FAIL: gfortran.dg/gamma_1.f90) 2007-11-16 22:31:28 +00:00
configure.host
fmain.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
gfortran.map re PR fortran/33197 (Fortran 2008: math functions) 2008-03-03 23:46:20 +00:00
libgfortran.h re PR libfortran/32972 (performance of pack/unpack) 2008-03-19 15:42:55 +00:00
libtool-version
Makefile.am re PR libfortran/32972 (performance of pack/unpack) 2008-03-19 15:42:55 +00:00
Makefile.in re PR libfortran/32972 (performance of pack/unpack) 2008-03-19 15:42:55 +00:00
mk-kinds-h.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00
mk-sik-inc.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00
mk-srk-inc.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00