This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] x86: Disable jump tables when retpolines are used (PR target/86952).
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Martin Liška <mliska at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, daniel at iogearbox dot net, "H.J. Lu" <hjl dot tools at gmail dot com>, Uros Bizjak <ubizjak at gmail dot com>
- Date: Fri, 8 Mar 2019 13:44:25 +0100
- Subject: Re: [PATCH] x86: Disable jump tables when retpolines are used (PR target/86952).
- References: <f8105d40-90bd-725e-30d2-8921fa6a2c5f@suse.cz>
> Hi.
>
> Thanks to Intel guys, we've done some re-measurement in PR86952
> about usage of jump tables when retpolines are used.
> Numbers prove that disabling of JT should be the best for now.
>
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>
> Ready to be installed?
OK, thanks!
I wonder if there is some threshold for extremely large jumptables where
branchy sequence will loose, but I think it is better to disable them
than what we have right now.
Honza