2014-06-11 11:57 GMT+02:00 Steven Bosscher <stevenb....@gmail.com>: > On Wed, Jun 11, 2014 at 10:32 AM, Kai Tietz wrote: >> this patch adds simple combining of indirect-jumps on memory-address. >> This patch is pretty similar to sibcall-combing. >> ChangeLog >> >> 2014-06-11 Kai Tietz <ktietz@...> >> >> * config/i386/i386.md (peehole2): To combine >> indirect jump with memory. > > > Likely fixes part of PR39284, xf. https://gcc.gnu.org/PR39284#c12 > > Ciao! > Steven
Well, it fixes it just partial AFAICS. Btw PR target/51840 is related to the same issue too. Latter problem shows much better the underlying issue of jump-shortening. Issue is here that the jump to a jump (or better said indirect jump) isn't shortened. Regards, Kai