RE: Pseudo frame pointer register in assembly code

2010-06-13 Thread Naveen H. S
>> 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"

Re: Pseudo frame pointer register in assembly code

2010-06-08 Thread Ian Lance Taylor
"Naveen H. S" writes: > The FRAME_POINTER_REGNUM is defined a pseudo register in header file. > I am using the following macros in header file to eliminate the pseudo > arg pointer and frame pointer. > However, there are some instances of frame pointer in the assembly code. > #define ELIMINABLE

Pseudo frame pointer register in assembly code

2010-06-08 Thread Naveen H. S
Hi, We have been implementing GCC port for a new target. The FRAME_POINTER_REGNUM is defined a pseudo register in header file. I am using the following macros in header file to eliminate the pseudo arg pointer and frame pointer. However, there are some instances of frame pointer in the assembly c