Re: [PATCH] Prefer bit-test over the jump table.

2020-11-16 Thread Jeff Law via Gcc-patches
On 11/16/20 2:53 AM, Martin Liška wrote: > On 11/9/20 4:56 PM, Jeff Law wrote: >> >> On 11/9/20 7:24 AM, Martin LiÅ¡ka wrote: >>> Hello. >>> >>> As mentioned in the PR, we used to prefer BT over JT in switch >>> expansion. >>> I restore the behavior to that. >>> >>> Patch can bootstrap on x86

Re: [PATCH] Prefer bit-test over the jump table.

2020-11-16 Thread Martin Liška
On 11/9/20 4:56 PM, Jeff Law wrote: On 11/9/20 7:24 AM, Martin Liška wrote: Hello. As mentioned in the PR, we used to prefer BT over JT in switch expansion. I restore the behavior to that. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks,

Re: [PATCH] Prefer bit-test over the jump table.

2020-11-09 Thread Jeff Law via Gcc-patches
On 11/9/20 7:24 AM, Martin Liška wrote: > Hello. > > As mentioned in the PR, we used to prefer BT over JT in switch expansion. > I restore the behavior to that. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Thanks, > Martin > > gcc/Change