Re: [PATCH v6 1/2] aarch64: Add SVE2 faminmax intrinsics

2024-10-10 Thread Richard Sandiford
writes: > +/* > +** amax_0_f16_z_tied1: > +** ... > +** movprfx z0, z31 > +** famax z0\.h, p0/m, z0\.h, z[0-9]+\.h > +** ret > +*/ > +TEST_UNIFORM_Z (amax_0_f16_z_tied1, svfloat16_t, > + z0 = svamax_n_f16_z (p0, z0, 0), > + z0 = svamax_z (p0, z0, 0)) We shouldn't

[PATCH v6 1/2] aarch64: Add SVE2 faminmax intrinsics

2024-10-10 Thread saurabh.jha
The AArch64 FEAT_FAMINMAX extension introduces instructions for computing the floating point absolute maximum and minimum of the two vectors element-wise. This patch introduces SVE2 faminmax intrinsics. The intrinsics of this extension are implemented as the following builtin functions: * sva[max