This is the mail archive of the gcc@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]

allocate new register in find_auto_inc


Can someone give me advice on how to allocate a new register during life analysis, specifically in find_auto_inc? I am working on an arch with no HAVE_POST_MODIFY_DISP but with HAVE_POST_MODIFY_REG. What I would like to do is load the immediate into the newly created register and then attempt_auto_inc.

I have tried using gen_reg_rtx() but that causes the compiler to ICE. I have also looked through some of the source code to try to figure out what I needed to do to create a register, but I got a little confused.

Any help would be greatly appreciated.

Thanks,
Jonah

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