This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: two-element struct performance (was: strict-aliasing and typedefs)
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: law at redhat dot com, Richard Henderson <rth at redhat dot com>,Joe Buck <jbuck at synopsys dot com>, Brad Lucier <lucier at math dot purdue dot edu>,gcc at gcc dot gnu dot org
- Date: Tue, 24 Feb 2004 11:29:21 +0100
- Subject: Re: two-element struct performance (was: strict-aliasing and typedefs)
- References: <200402240539.i1O5diGB003778@speedy.slc.redhat.com> <m3ptc4dbte.fsf@uniton.integrable-solutions.net>
Gabriel Dos Reis wrote:
law@redhat.com writes:
| Done. It's pretty trivial. We now get the following:
|
| T.2 = arg->im + 0.0;
| T.6.re = arg->re + 1.0e+0;
| T.6.im = T.2;
| return T.6;
|
| The only thing I see now is that TER didn't replace the use of T.2 with
| its earlier assignment. Probably due to the store between the assignment
| to T.2 and the later use of T.2.
Hey, pretty amazing progress, Jeff! Wow.
Really! My best compliments too!
Paolo.