Re: [PATCH v2 2/3] aarch64: Introduce new unspecs for smax/smin

2024-10-01 Thread Saurabh Jha
On 10/1/2024 2:07 PM, Richard Sandiford wrote: writes: Introduce two new unspecs, UNSPEC_COND_SMAX and UNSPEC_COND_SMIN, corresponding to rtl operators smax and smin. UNSPEC_COND_SMAX is used to generate fmaxnm instruction and UNSPEC_COND_SMIN is used to generate fminnm instruction. With th

Re: [PATCH v2 2/3] aarch64: Introduce new unspecs for smax/smin

2024-10-01 Thread Richard Sandiford
writes: > Introduce two new unspecs, UNSPEC_COND_SMAX and UNSPEC_COND_SMIN, > corresponding to rtl operators smax and smin. UNSPEC_COND_SMAX is used > to generate fmaxnm instruction and UNSPEC_COND_SMIN is used to generate > fminnm instruction. > > With these new unspecs, we can generate SVE2 max/

[PATCH v2 2/3] aarch64: Introduce new unspecs for smax/smin

2024-10-01 Thread saurabh.jha
Introduce two new unspecs, UNSPEC_COND_SMAX and UNSPEC_COND_SMIN, corresponding to rtl operators smax and smin. UNSPEC_COND_SMAX is used to generate fmaxnm instruction and UNSPEC_COND_SMIN is used to generate fminnm instruction. With these new unspecs, we can generate SVE2 max/min instructions us