AVX and FMA3 microkernels for GEMM/GEMMINC/IGEMM
PiperOrigin-RevId: 281807374
diff --git a/src/xnnpack/isa-checks.h b/src/xnnpack/isa-checks.h
index 226640c..e5d1fc6 100644
--- a/src/xnnpack/isa-checks.h
+++ b/src/xnnpack/isa-checks.h
@@ -52,6 +52,13 @@
} \
} while (0)
+#define TEST_REQUIRES_X86_FMA3 \
+ do { \
+ if (!cpuinfo_initialize() || !cpuinfo_has_x86_fma3()) { \
+ GTEST_SKIP(); \
+ } \
+ } while (0)
+
#define TEST_REQUIRES_X86_AVX2 \
do { \
if (!cpuinfo_initialize() || !cpuinfo_has_x86_avx2()) { \