Pseudo frame pointer register in assembly code
Naveen H. S
Naveen.S@kpitcummins.com
Mon Jun 14 08:24:00 GMT 2010
>> you can define a hard register HARD_FRAME_POINTER_REGNUM. Either
>> way, it should not be a fixed register. In the latter case, have
>> an elimination from FRAME_POINTER_REGNUM to HARD_FRAME_POINTER_REGNUM.
Hi Ian,
Thanks a lot for the useful suggestion.
The "HARD_FRAME_POINTER_REGNUM" which was not a FIXED_REG was defined.
The FRAME_POINTER_REGNUM was eliminated to HARD_FRAME_POINTER_REGNUM
in the ELIMINABLE_REGS. As the frame pointer was eliminated by a hard
register, undefined reference to pseudo frame pointer was solved.
Thanks & Regards,
Naveen
More information about the Gcc
mailing list