gcc/libgfortran/runtime
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
..
backtrace.c re PR fortran/32021 (Fix,document,remove GFORTRAN_* environment variables) 2007-10-18 21:25:21 +00:00
compile_options.c re PR libfortran/21185 (Improve testsuite results on newlib targets) 2007-09-15 14:52:46 +00:00
environ.c re PR fortran/33795 (Environment variable GFORTRAN_UNBUFFERED_<number> not working) 2007-10-19 04:10:58 +00:00
error.c re PR fortran/34594 (On error and END, no jump to ERR=<label>) 2007-12-27 12:33:52 +00:00
fpu.c
in_pack_generic.c re PR libfortran/32972 (performance of pack/unpack) 2008-03-19 15:42:55 +00:00
in_unpack_generic.c re PR libfortran/32972 (performance of pack/unpack) 2008-03-19 15:42:55 +00:00
main.c re PR fortran/32021 (Fix,document,remove GFORTRAN_* environment variables) 2007-10-18 21:25:21 +00:00
memory.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
pause.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
select.c re PR libfortran/33386 (Fortran SELECT statement miscompiles) 2007-09-11 14:53:02 +00:00
stop.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
string.c re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00