https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #3) > (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. Can you please make a microbenchmark that will expose how exactly is that expensive? Based on that I can tune current costs.