"__ARM_FEATURE_SVE_BF16", pfile);
aarch64_def_or_undef (TARGET_LUT, "__ARM_FEATURE_LUT", pfile);
+ aarch64_def_or_undef (TARGET_SME_LUTv2, "__ARM_FEATURE_SME_LUTv2", pfile);
aarch64_def_or_undef (TARGET_FP8, "__ARM_FEATURE_FP8", pfile);
AARCH64_OPT_EXTENSION("lut", LUT, (SIMD), (), (), "lut")
+AARCH64_OPT_EXTENSION ("sme-lutv2", SME_LUTv2, (SME2), (), (), "sme-lutv2")
+
AARCH64_OPT_EXTENSION("cpa", CPA, (), (), (), "")
#undef AARCH64_OPT_FMV_EXTENSION
enabled through +faminmax. */
#define TARGET_FAMINMAX AARCH64_HAVE_ISA (FAMINMAX)
-/* Lookup table (LUTI) extension instructions are enabled through +lut. */
+/* Lookup table (LUTI) extension instructions with 2-bit and 4-bit indices are
+ enabled through +lut. */
#define TARGET_LUT AARCH64_HAVE_ISA (LUT)
+/* Lookup table (LUTI) extension instructions with 4-bit indices and 8-bit
+ elements are enabled through +sme-lutv2. */
+#define TARGET_SME_LUTv2 AARCH64_HAVE_ISA (SME_LUTv2)
+
/* Prefer different predicate registers for the output of a predicated
operation over re-using an existing input predicate. */
#define TARGET_SVE_PRED_CLOBBER (TARGET_SVE \
Enable the Floating Point Absolute Maximum/Minimum extension.
@item lut
Enable the Lookup Table extension.
+@item sme-lutv2
+Enable the SME Lookup Table v2 (LUTv2) extension.
@item cpa
Enable the Checked Pointer Arithmetic instructions.
@item sve-b16b16