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


Peter Bergner wrote:
> Or maybe we could just gate this call to recog() to the "offset == 0"
> case which would mimic the old behavior?

That wouldn't work -- we *are* changing the basic insn structure from
a load-with-update to an add, and we have to re-recognize in that
case.

The only reason the old code could get by without recognizing the
insn was because it never changed the basic structure, but only
did some changes inside the operands.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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