Re: [PATCH] SVE intrinsics: Add constant folding for svindex.

2024-10-24 Thread Jennifer Schmitz
> On 23 Oct 2024, at 16:49, Richard Sandiford wrote: > > External email: Use caution opening links or attachments > > > Jennifer Schmitz writes: >> This patch folds svindex with constant arguments into a vector series. >> We implemented this in svindex_impl::fold using the function >> build

Re: [PATCH] SVE intrinsics: Add constant folding for svindex.

2024-10-23 Thread Richard Sandiford
Jennifer Schmitz writes: > This patch folds svindex with constant arguments into a vector series. > We implemented this in svindex_impl::fold using the function build_vec_series. > For example, > svuint64_t f1 () > { > return svindex_u642 (10, 3); > } > compiled with -O2 -march=armv8.2-a+sve, is

Re: [PATCH] SVE intrinsics: Add constant folding for svindex.

2024-10-22 Thread Jennifer Schmitz
Ping. Thanks, Jennifer > On 16 Oct 2024, at 17:38, Jennifer Schmitz wrote: > > This patch folds svindex with constant arguments into a vector series. > We implemented this in svindex_impl::fold using the function build_vec_series. > For example, > svuint64_t f1 () > { > return svindex_u642 (10,

Re: [PATCH] SVE intrinsics: Add constant folding for svindex.

2024-10-16 Thread Jennifer Schmitz
I resubmitted an corrected version of this patch in https://gcc.gnu.org/pipermail/gcc-patches/2024-October/665648.html > On 16 Oct 2024, at 10:32, Jennifer Schmitz wrote: > > This patch folds svindex with constant arguments into a vector series. > We implemented this in svindex_impl::fold using

[PATCH] SVE intrinsics: Add constant folding for svindex.

2024-10-16 Thread Jennifer Schmitz
This patch folds svindex with constant arguments into a vector series. We implemented this in svindex_impl::fold using the function build_vec_series. For example, svuint64_t f1 () { return svindex_u642 (10, 3); } compiled with -O2 -march=armv8.2-a+sve, is folded to {10, 13, 16, ...} in the gimple

[PATCH] SVE intrinsics: Add constant folding for svindex.

2024-10-16 Thread Jennifer Schmitz
This patch folds svindex with constant arguments into a vector series. We implemented this in svindex_impl::fold using the function build_vec_series. For example, svuint64_t f1 () { return svindex_u642 (10, 3); } compiled with -O2 -march=armv8.2-a+sve, is folded to {10, 13, 16, ...} in the gimple