Re: [PATCH] Improve PR91257, specialize bitmap_ior_and_compl_into

2019-07-30 Thread Richard Biener
On Tue, 30 Jul 2019, Jakub Jelinek wrote: > On Tue, Jul 30, 2019 at 12:20:00PM +0200, Richard Biener wrote: > > + if (compl_p) > > + for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) > > + { > > + and_elt.bits[ix] = b_elt->bits[ix] & ~c_elt->bits[ix]; > > + overall |= and_elt.bi

Re: [PATCH] Improve PR91257, specialize bitmap_ior_and_compl_into

2019-07-30 Thread Jakub Jelinek
On Tue, Jul 30, 2019 at 12:20:00PM +0200, Richard Biener wrote: > + if (compl_p) > + for (ix = 0; ix < BITMAP_ELEMENT_WORDS; ix++) > + { > + and_elt.bits[ix] = b_elt->bits[ix] & ~c_elt->bits[ix]; > + overall |= and_elt.bits[ix]; > + } > + else > + for (

Re: [PATCH] Improve PR91257, specialize bitmap_ior_and_compl_into

2019-07-30 Thread Richard Biener
On Tue, 30 Jul 2019, Richard Biener wrote: > > bitmap_ior_and_compl_into is currently doing bitmap_and_compl into > a temporary bitmap and then bitmap_ior_into. The following uses > the existing implementation of bitmap_ior_and_into and exchanges > the core worker based on a template parameter.

[PATCH] Improve PR91257, specialize bitmap_ior_and_compl_into

2019-07-30 Thread Richard Biener
bitmap_ior_and_compl_into is currently doing bitmap_and_compl into a temporary bitmap and then bitmap_ior_into. The following uses the existing implementation of bitmap_ior_and_into and exchanges the core worker based on a template parameter. This results in a slight savings in out-of-SSA time