This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is this a typo in setup_incoming_varargs_64?


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]