This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: multi-word operations
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: multi-word operations
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Wed, 12 Aug 1998 23:21:24 -0400
- Cc: egcs at cygnus dot com
Is this really just combine or is this also due to GCC not
tracking what part of a register could contain meaningful results after an
operation. Yes, the compiler must widen but it also can know exactly what
effect widening will have and how that will interact with logical
operations.
Looking at GCC's PowerPC output for the same functions and the
intermediate optimization passes of IBM's XLC compiler, XLC seems to make
a lot of the gain by better knowing which operations are moot.
David