RND microkernels and tests
PiperOrigin-RevId: 315493586
diff --git a/src/xnnpack/isa-checks.h b/src/xnnpack/isa-checks.h
index d056410..0c6aabe 100644
--- a/src/xnnpack/isa-checks.h
+++ b/src/xnnpack/isa-checks.h
@@ -87,6 +87,13 @@
} \
} while (0)
+#define TEST_REQUIRES_ARM_NEON_V8 \
+ do { \
+ if (!cpuinfo_initialize() || !cpuinfo_has_arm_neon_v8()) { \
+ GTEST_SKIP(); \
+ } \
+ } while (0)
+
#define TEST_REQUIRES_ARM_NEON_FP16_ARITH \
do { \
if (!cpuinfo_initialize() || !cpuinfo_has_arm_neon_fp16_arith()) { \