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]

Register Allocator query.


Hi,

In old register allocation scheme, we have 
array "reg_allocno" in gcc/global.c
indexed by pseudo regno.

To inhibit register allocator to assign 
hard reg for REG rtx, we can assign -1
in reg_allocno for corresponding regno.
i.e.
reg_allocno[i] = -1; for some pseudo regno 
and it won't be assigned hard reg.

I am doing some jugglery with code and want to 
to do this with an arbitrary pseudo in new reg-
allocator. Is it possible to do this in a convenient 
way without modifying too much code?

Thanks and Regards,
Leon.

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com


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