oopack performance

Dan Nicolaescu dann@ics.uci.edu
Mon May 12 01:28:00 GMT 2003


Joe Buck <jbuck@synopsys.com> writes:

  > On Tue, May 06, 2003 at 06:28:54AM -0700, Dan Nicolaescu wrote:
  > > Mainline GCC performs well for the 3 of the 4 oopack benchmarks. 
  > > The only exception is "Complex". 
  > > ...
  > 
  > > The performance can be improved dramatically by just adding a
  > > constructor to the "Complex" class:
  > > 
  > > Complex (const Complex &F) : re(F.re), im(F.im) {}
  > 
  > This is very odd, because that's pretty much the same as the
  > default compiler-generated constructor.  Anyone have any idea
  > why there's so much difference?

I created a PR for this: c++/10741 (http://gcc.gnu.org/PR?10741)



More information about the Gcc mailing list