This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/37536] [4.3/4.4 Regression] a mfcr is produced instead of branches for DO loops



------- Comment #3 from jakub at gcc dot gnu dot org  2008-09-16 13:02 -------
Created an attachment (id=16338)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16338&action=view)
gcc44-pr37536.patch

So far untested patch to optimize slightly integer type non-simple do loops.
At least on x86_64 it results in smaller and hopefully faster code.
Still testing it with make check-gfortran, but will probably need a SPEC
testing too.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37536


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]