re PR libfortran/32972 (performance of pack/unpack)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 21 Mar 2008 14:37:03 +0000 (14:37 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 21 Mar 2008 14:37:03 +0000 (14:37 +0000)
commit3ef2513a1d3a2497773f9aa37ac1242e88df8652
tree04bf31b498d7e26a396dabb53adec7b17a4a8ba4
parentf4351641f0c9a8d7d0962da084bb9127ce41bef8
re PR libfortran/32972 (performance of pack/unpack)

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

PR libfortran/32972
* Makefile.am:  Add new variable, i_pack_c, containing
pack_i1.c, pack_i2.c, pack_i4.c, pack_i8.c, pack_i16.c,
pack_r4.c, pack_r8.c, pack_r10.c, pack_r16.c, pack_c4.c,
pack_c8.c, pack_c10.c, pack_c16.c.
Add m4/pack.m4 to m4_files.
Add i_pack_c to gfor_built_src.
Add rule to generate i_pack_c from m4/pack.m4.
* Makefile.in:  Regenerated.
* libgfortran.h: Add prototypes for pack_i1, pack_i2, pack_i4,
pack_i8, pack_i16, pack_r4, pack_r8, pack_c4, pack_c8,
pack_c10, pack_c16.
* intrinsics/pack_generic.c:  Add calls to specific
pack functions.
* m4/pack.m4:  New file.
* generated/pack_i1.c:  New file.
* generated/pack_i2.c:  New file.
* generated/pack_i4.c:  New file.
* generated/pack_i8.c:  New file.
* generated/pack_i16.c:  New file.
* generated/pack_r4.c:  New file.
* generated/pack_r8.c:  New file.
* generated/pack_r10.c:  New file.
* generated/pack_r16.c:  New file.
* generated/pack_c4.c:  New file.
* generated/pack_c8.c:  New file.
* generated/pack_c10.c:  New file.
* generated/pack_c16.c:  New file.

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

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

From-SVN: r133427
23 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/intrinsic_pack_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/intrinsic_pack_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/intrinsic_pack_3.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/Makefile.am
libgfortran/Makefile.in
libgfortran/generated/pack_c10.c [new file with mode: 0644]
libgfortran/generated/pack_c16.c [new file with mode: 0644]
libgfortran/generated/pack_c4.c [new file with mode: 0644]
libgfortran/generated/pack_c8.c [new file with mode: 0644]
libgfortran/generated/pack_i1.c [new file with mode: 0644]
libgfortran/generated/pack_i16.c [new file with mode: 0644]
libgfortran/generated/pack_i2.c [new file with mode: 0644]
libgfortran/generated/pack_i4.c [new file with mode: 0644]
libgfortran/generated/pack_i8.c [new file with mode: 0644]
libgfortran/generated/pack_r10.c [new file with mode: 0644]
libgfortran/generated/pack_r16.c [new file with mode: 0644]
libgfortran/generated/pack_r4.c [new file with mode: 0644]
libgfortran/generated/pack_r8.c [new file with mode: 0644]
libgfortran/intrinsics/pack_generic.c
libgfortran/libgfortran.h
libgfortran/m4/pack.m4 [new file with mode: 0644]