[Bug target/28481] [4.2/4.3/4.4 Regression] regression from 3.x: 4.1.1 uses memory where it can use registers

vda dot linux at googlemail dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 4 20:33:00 GMT 2008



------- Comment #7 from vda dot linux at googlemail dot com  2008-07-04 20:33 -------
4.3.1 have number of memory references down from 115 (4.2.1 had that) but still
can't regain the result of 3.4.3 (21 memory reference). Here is how I checked
this:

# i486-linux-uclibc-gcc -v
...
gcc version 4.3.1 (GCC)
# i486-linux-uclibc-gcc -S -fomit-frame-pointer serpent.c -Os -o
serpent-431-Os.s
# i486-linux-uclibc-gcc -S -fomit-frame-pointer serpent.c -O2 -o
serpent-431-O2.s
# i486-linux-uclibc-gcc -S -fomit-frame-pointer serpent.c -O3 -o
serpent-431-O3.s
# grep 'mov.*(' serpent-431-Os.s | wc -l
48
# grep 'mov.*(' serpent-431-O2.s | wc -l
48
# grep 'mov.*(' serpent-431-O3.s | wc -l
48


-- 


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



More information about the Gcc-bugs mailing list