/* NumKong ISA probe: SME2P1 */
#if defined(_WIN32)
#error "SVE/SME not supported on Windows ARM"
#endif

#if !defined(__ARM_FEATURE_SME2)
#error "Feature not available"
#endif
#include <arm_sme.h>
__arm_new("za") __arm_locally_streaming int test_sme2p1(void) {
    svfloat32_t a = svdup_f32(1.0f);
    svbool_t p = svptrue_b32();
    svmopa_za32_f32_m(0, p, p, a, a);
    return 0;
}
int main(void) { return test_sme2p1(); }
