This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13454] -funroll-loops depth option
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Dec 2003 02:22:28 -0000
- Subject: [Bug optimization/13454] -funroll-loops depth option
- References: <20031220015642.13454.curious@irc.pl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-20 02:22 -------
Actually GCC something like this with -funroll-loops (already explained in IRC):
for (q = 0 ; q < height; q++) {
if (width % 2) {
*(scr8++) = BGR233ToPixel[*(buf++)];
}
for (p = 0 ; q < width/2; p++) {
*(scr8++) = BGR233ToPixel[*(buf++)];
*(scr8++) = BGR233ToPixel[*(buf++)];
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13454