secondary reload via 2 intermediary registers
Jeff Law
law@redhat.com
Mon Oct 18 13:27:00 GMT 2010
On 09/30/10 03:04, Alex Turjan wrote:
> Hi,
> I have 3 questions regarding secondary reload:
>
> 1.Is it possible to do the secondary reload via 2 intermediary registers?
> As far as I can see the insn that implements the secondary reload has to have 3 operands.
Make the scratch/intermediary register double-sized so that you get a
pair of registers instead of a single register for the scratch/intermediary.
> 2. Is it possible that an instruction emitted during the secondary reload to get reloaded as well? and if yes how?
Typically you need to ensure that your reload_xxx expanders generate RTL
which does not need further reloading. This makes handling secondary
reloads rather complex in some cases.
jeff
More information about the Gcc
mailing list