This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386]: Backport a small retpoline improvement to gcc-7 branch
- From: Richard Biener <rguenther at suse dot de>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "H. J. Lu" <hjl dot tools at gmail dot com>
- Date: Fri, 19 Jan 2018 09:02:27 +0100 (CET)
- Subject: Re: [PATCH, i386]: Backport a small retpoline improvement to gcc-7 branch
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4b-b1RJO3DoiaR9zGSWZWQgD_h195wP=qxah=6N9g_S+g@mail.gmail.com>
On Thu, 18 Jan 2018, Uros Bizjak wrote:
> Hello!
>
> I'd like to backport a small improvement to retpoline functionality to
> gcc-7 branch.
>
> 2018-01-17 Uros Bizjak <ubizjak@gmail.com>
>
> * config/i386/i386.c (indirect_thunk_name): Declare regno
> as unsigned int. Compare regno with INVALID_REGNUM.
> (output_indirect_thunk): Ditto.
> (output_indirect_thunk_function): Ditto.
> (ix86_code_end): Declare regno as unsigned int. Use INVALID_REGNUM
> in the call to output_indirect_thunk_function.
>
> OK for branch?
Please wait until after the release of 7.3 if this doesn't fix an actual
bug.
Thanks,
Richard.
> Uros.
>
--
Richard Biener <rguenther@suse.de>
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)