Temporary Hard register

Jeff Law law@redhat.com
Mon Apr 27 16:55:00 GMT 2015


On 04/27/2015 10:50 AM, ftwilliam wrote:
> I need a hard register for a define_insn output.
>
> I have had issues before when using clobber in a define_insn pattern;
> I will give it another try.
>
> Is there an example I can be pointed to where a temporary hard
> register is obtained via secondary reload ?
Many ports have them various forms of secondary reloads and scratch 
registers for reload.

Search for "secondary_reload", "reload_in", "reload_out" in the various 
target directories for many examples.


jeff



More information about the Gcc-help mailing list