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]

Re: 3.0.1 Freeze


Hi,

Richard Henderson wrote:

> > So the correct patch should possibly look like below, which also had the
> > advantage to handle multiple sets.
> 
> I don't want to get into handling multiple sets.

Why not? i386 uses them heavily and might benefit from this.

>         /* Note that single_set ignores parts of a parallel set for
>            which one of the destinations is REG_UNUSED.  We can't
>            handle that here, since we can wind up rewriting things
>            such that a single register is set twice within a single
>            parallel.  */
>         if (reg_set_p (src, insn))
>           continue;
> 
> would be a lot safer.  And could go on the 3.0 branch without ifdefs,
> since it does nothing but disable optimization for particular instances.

Sure, I can test this version.

bye, Roman


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