Question about Register Class Allocation
Balaji V. Iyer
bviyer@ncsu.edu
Wed Jan 30 06:05:00 GMT 2008
Hello Everyone,
I am currently working with Gcc 4.0.2 and I have a question
regarding the register allocation.
I saw that regclass() function determines which class of register
the registers in the current units should be assigned to. The question I
have is: Will this decision change in any other parts of the compiler?
or is this this the final place where they fix the register class? So,
if I add my own priority-based register-class assigner, can I just
replace this function and add my own?
Any help is very very much appreciated. Please feel free to contact me
if you need any additional clarification.
Thanks,
Balaji V. Iyer.
--
Balaji V. Iyer
PhD Student,
Center for Efficient, Scalable and Reliable Computing,
Department of Electrical and Computer Engineering,
North Carolina State University.
More information about the Gcc
mailing list