reload question
Pat Haugen
pthaugen@us.ibm.com
Mon Aug 13 14:55:00 GMT 2007
Ian Lance Taylor <iant@google.com> wrote on 08/10/2007 07:17:21 PM:
>
> I'm not entirely clear: how do you propose changing the code?
>
I was thinking of reordering the if tests such that we check if op0 is
already ok_for_base or op1 is ok_for_index before we check the inverse
conditions (which result in swapping the classes of the operands). I would
also change the default else leg such that it keeps op0 as the base reg and
op1 as an index reg.
Example diff (not tested)
(See attached file: reload.diff)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reload.diff
Type: application/octet-stream
Size: 2931 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20070813/d221b45b/attachment.obj>
More information about the Gcc
mailing list