Reload question
Mark Mitchell
mark@codesourcery.com
Fri Jul 26 13:35:00 GMT 2002
--On Thursday, July 25, 2002 02:21:23 PM +0000 Richard Kenner
<kenner@vlsi1.ultra.nyu.edu> wrote:
> In reload, after doing register allocation, we do, in "reload()":
>
> That mutates the instruction in place, with the possible result that
> it is no longer recognizable.
>
> Who is supposed to be responsible for making the instruction
> recognizable again?
>
> Reload itself. The insn won't match its constraints.
But this happens *at the end* of reload. Search for:
PUT_CODE (reg, MEM)
in reload1.c.
So, where in reload is the instruction supposed to be checked to see
that it is safe to make this transmogrification?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list