[Bug target/86952] Avoid jump table for switch statement with -mindirect-branch=thunk

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 20 13:14:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Martin Liška from comment #2)
> H.J. I can write a patch for it. Do you expect more expensive costs when
> retpolines are enabled?

retpoline is more expensive than 4 branches.


More information about the Gcc-bugs mailing list