This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is this a typo in setup_incoming_varargs_64?
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, Jan Hubicka <jh at suse dot cz>, GCC <gcc at gcc dot gnu dot org>
- Date: Thu, 5 Jun 2008 11:34:52 +0200
- Subject: Re: Is this a typo in setup_incoming_varargs_64?
- References: <6dc9ffc80806041016o5eaa4a9apba09149fbb29d355@mail.gmail.com>
> Hi,
>
> setup_incoming_varargs_64 in i386.c has
>
> /* Compute address to jump to :
> label - 5*eax + nnamed_sse_arguments*5 */
>
> The comments don't match the code. Shout the comments be
>
> /* Compute address to jump to :
> label - 4*eax + nnamed_sse_arguments*4 */
Yes, this is most likely type caused by originally using different
register than eax that resulted in different length of encoding.
Thanks for noticing it!
Honza
>
> Thanks.
>
> --
> H.J.