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: Address side effect patches


Joern Rennecke writes:
 > > q = p; *++q; *q++.  While the algorithm I used can generate quite good
 > > sequences of address side effects, it could be improved if a better
 > > flow graph was available and if there was a cost mechanism for
 > > addressing modes.
 > 
 > There actually is one already: the ADDRESS_COST target macro.  Look into
 > tm.texi for details.

I meant to say, a better address cost mechanism.  On many machines,
the address cost for an operand is dependent upon the other insn
operands, but the current mechanism doesn't provide any context.

Michael.



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