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: RFA: 4.2 reload infrastructure to fix PR target/21623


Quoting Bernd Schmidt <bernds_cb1@t-online.de>:

> amylaar@spamcop.net wrote:
 > Wouldn't you need to have the hook decide how to move from a register in
> the intermediate class to a register in the reload reg class?  In which
> case you don't have an rtx to look at.  Am I being dense?

The icode that is set (or not set) at the first call of the hook describes
how to move between the reload register and the intermediate register.
The hook looks at the reload register and the rtx, and it specifies what
intermediate register is needed, and how to move between reload register and
intermediate register.


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