This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PTR-PLUS merge into the mainline


Hi,

On Thu, 5 Jul 2007, Richard Guenther wrote:

> > How should this be optimized within the context of your canonicalization?
> 
> For example by making fold_plusminus_mult_expr do what its comment
> suggest, "No identical multiplicands; see if we can find a common
> power-of-two factor ..."
> 
> Can you try the following and see if it helps m68k?

The problem isn't specific to m68k, it's a problem for i386 and probably 
others as well.
The patch is unfortunately no improvement, the problem is the canonical 
form for addresses is (p * c) + o, which directly conflicts with yours.

bye, Roman


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]