This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19672] Performance regression in simple loop code
- From: "stephan dot bergmann at sun dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jan 2005 09:09:19 -0000
- Subject: [Bug target/19672] Performance regression in simple loop code
- References: <20050128162036.19672.stephan.bergmann@sun.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From stephan dot bergmann at sun dot com 2005-01-31 09:09 -------
"I think you can get all the speed back by supplying -mbranch-cost=1 but I could
be wrong."
No, adding -mbranch-cost=1 leads to only a very minor performance improvement.
"Can you give the output of "gcc -v" for both GCC's?"
3.4.3> gcc -v
Reading specs from
/export/home/sb93797/gcc-3.4.3-inst/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/export/home/sb93797/gcc-3.4.3-inst
Thread model: posix
gcc version 3.4.3
3.2.2> gcc -v
Reading specs from
/so/env/gcc_3.2.2_linux_libc2.20/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs
Configured with: /export/home/obo/gcc-3.2.2/configure
--prefix=/net/grande.germany/develop6/update/dev/gcc_3.2.2_linux_libc2.20
--with-as=/net/grande.germany/develop6/update/dev/gcc_3.2.2_linux_libc2.20/bin/as
--with-ld=/net/grande.germany/develop6/update/dev/gcc_3.2.2_linux_libc2.20/bin/ld
--enable-languages=c,c++
Thread model: posix
gcc version 3.2.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19672