This is the mail archive of the gcc-patches@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: [PATCH] Fix PR middle-end/28690, indexed load/store performance + reload bug


On Thu, 2006-12-07 at 18:00 +0100, Ulrich Weigand wrote:
> Merge the two branches of the "if" into something like:
> 
>    if (offset == 0 || plus_src)
>     {
>       ... modeled after the current offset == 0 case, except
>       for replacing to_rtx with plus_constant (to_rtx, offset)
>       in this line:
> 
> 		PATTERN (insn) = gen_rtx_SET (VOIDmode,
>                                               SET_DEST (old_set),
>                                               to_rtx);
> 
>     }
>    else
>      break;

Ok, I'll give that a shot with the current rtlanal.c and
tree-ssa-address.c changes that exposed the problem to see
if that works.  Thanks.

Peter



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