About Regmove !!
Jeff Law
law@porcupine.cygnus.com
Mon Nov 18 10:50:00 GMT 2002
In message <Pine.LNX.4.21.0211121718270.13111-100000@mail.kloo.net>, tm
writes:
>Is there a particular reference you have in mind which covers handling
>addressing inheritance in GCSE?
It's covered in the usual places. Morgan & Muchnick both discuss it at
various levels of detail. It'll be in the section on integration strength
reduction with global cse (lcm)
>To me, it seems very awkward to have address inheritance handled by GCSE.
It's actually quite natural. Far more so than the ad-hoc mess in regmove.
>In order to generate efficient address inheritance, the addressing mode of
>an instruction may need to be changed. This implies GCSE will need to
>understand all of the target CPU's addressing modes and allowable
>displacements for each one.
Already handled by GO_IF_LEGITIMATE_ADDRESS.
jeff
More information about the Gcc
mailing list