On Tue, 16 Jul 2024, Filip Kastl wrote:
> On Wed 2024-07-10 11:34:44, Richard Biener wrote:
> > On Mon, 8 Jul 2024, Filip Kastl wrote:
> >
> > > Hi,
> > >
> > > I'm replying to Richard and keeping Andrew in cc since your suggestions
> > > overlap.
> > >
> > >
> > > On Tue 2024-06-11 14:48:06,
On Wed 2024-07-10 11:34:44, Richard Biener wrote:
> On Mon, 8 Jul 2024, Filip Kastl wrote:
>
> > Hi,
> >
> > I'm replying to Richard and keeping Andrew in cc since your suggestions
> > overlap.
> >
> >
> > On Tue 2024-06-11 14:48:06, Richard Biener wrote:
> > > On Thu, 30 May 2024, Filip Kastl
On Thu, 11 Jul 2024, Filip Kastl wrote:
> > > > > +/* Check that the "exponential index transform" can be applied to
> > > > > this switch.
> > > > > +
> > > > > + See comment of the exp_index_transform function for details about
> > > > > this
> > > > > + transformation.
> > > > > +
> > > >
> > > > +/* Check that the "exponential index transform" can be applied to this
> > > > switch.
> > > > +
> > > > + See comment of the exp_index_transform function for details about
> > > > this
> > > > + transformation.
> > > > +
> > > > + We want:
> > > > + - This form of the switch is
On Mon, 8 Jul 2024, Filip Kastl wrote:
> Hi,
>
> I'm replying to Richard and keeping Andrew in cc since your suggestions
> overlap.
>
>
> On Tue 2024-06-11 14:48:06, Richard Biener wrote:
> > On Thu, 30 May 2024, Filip Kastl wrote:
> > > +/* { dg-do compile } */
> > > +/* { dg-options "-O2 -fdu
Hi,
I'm replying to Richard and keeping Andrew in cc since your suggestions
overlap.
On Tue 2024-06-11 14:48:06, Richard Biener wrote:
> On Thu, 30 May 2024, Filip Kastl wrote:
> > +/* { dg-do compile } */
> > +/* { dg-options "-O2 -fdump-tree-switchconv -march=znver3" } */
>
> I think it's bet
On Thu, 30 May 2024, Filip Kastl wrote:
> Hi,
>
> This patch adds a transformation into the switch conversion pass --
> the "exponential index transform". This transformation can help switch
> conversion convert switches it otherwise could not. The transformation is
> intended for switches whos
On Thu, May 30, 2024 at 5:09 AM Filip Kastl wrote:
>
> Hi,
>
> This patch adds a transformation into the switch conversion pass --
> the "exponential index transform". This transformation can help switch
> conversion convert switches it otherwise could not. The transformation is
> intended for s
Hi,
This patch adds a transformation into the switch conversion pass --
the "exponential index transform". This transformation can help switch
conversion convert switches it otherwise could not. The transformation is
intended for switches whose cases are all powers of 2. Here is a more detailed