cshift0.c (DEF_COPY_LOOP, [...]): New.
authorRichard Henderson <rth@redhat.com>
Fri, 3 Sep 2004 19:03:43 +0000 (12:03 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 3 Sep 2004 19:03:43 +0000 (12:03 -0700)
commit803a6ff52cfe6faa0913a2e3849810400e2eee52
tree45031e40045a83813e4ccdecda3fff4a9be7cbb0
parent61fec9ffac35d5cb530c9f1e757e7796d8488281
cshift0.c (DEF_COPY_LOOP, [...]): New.

        * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
        copy_loop_double, copy_loop_ldouble): New.
        (__cshift0): Make shift type ssize_t.  Use % operator instead of
        div.  Use specialized versions of copy loop depending on the shape.

From-SVN: r87045
libgfortran/ChangeLog
libgfortran/intrinsics/cshift0.c