This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: var-tracking and s390's LM(G)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: Richard Sandiford <rdsandiford at googlemail dot com>, Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org, Andreas dot Krebbel at de dot ibm dot com
- Date: Wed, 5 Feb 2014 22:29:55 +0100
- Subject: Re: var-tracking and s390's LM(G)
- Authentication-results: sourceware.org; auth=none
- References: <8761ot8gb9 dot fsf at talisman dot default> <201402052126 dot s15LQGS4020188 at d06av02 dot portsmouth dot uk dot ibm dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Feb 05, 2014 at 10:26:16PM +0100, Ulrich Weigand wrote:
> Actually, now I think the problem originally described there is still
> valid: on s390 the CFA is *not* equal to the value at function entry,
> but biased by 96/160 bytes. So setting the SP to the CFA is wrong ...
Such biasing happens on most of the targets, e.g. x86_64 has upon function
entry CFA set to %rsp + 8, i?86 to %esp + 4.
Jakub