Difference between stack pointer and frame address duringcodegeneration
Vladimir Makarov
vmakarov@redhat.com
Wed Mar 2 17:47:00 GMT 2005
Ãyvind Harboe wrote:
>On Wed, 2005-03-02 at 10:03 -0500, Vladimir Makarov wrote:
>
>
>>Ãyvind Harboe wrote:
>>
>>
>>
>>>Is there an existing technique to figure out the difference between
>>>the frame address and the stack pointer during code generation of
>>>arbitary instructions?
>>>
>>>
>>>
>>>
>>You can get the current offset through INITIAL_ELIMINATION_OFFSET.
>>
>>
>
>Does something along the lines of a "FINAL_ELIMINATION_OFFSET()" exist,
>that can be called from code-generation in the back-end?
>
>
>
Sorry, I don't understand what you mean saying "code-generation in the
back-end". As I wrote there is no "FINAL_ELIMINATION_OFFSET" before
reload. After the reload it is INITIAL_ELIMINATION_OFFSET.
Vlad
More information about the Gcc
mailing list