Hard Register ??

gyanindra mishra gyana_m@hotmail.com
Fri Feb 7 05:40:00 GMT 2003


Hi,
    While going thru the source code of GCC I found the rtx for hard_reg is 
evaluated by calling the function gen_rtx_REG(mode, reg_no) in function.c

Is there any specific relation between the enum machine_mode and rtx for 
hard_reg to be generated and register number ??

As if I am passing direct values to the function gen_rtx_REG(4,0) it crahses 
GCC,
but indirrectly it is taking the same value for getting hard_reg rtx.

Thanks in adv
Mishra




_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail



More information about the Gcc mailing list