This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch i386]: Combine memory and indirect jump


2014-06-11 11:57 GMT+02:00 Steven Bosscher <stevenb.gcc@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]