F16->F32 conversion microkernels in F16C implementation
- F16C codegen templates for F16->F32 microkernels
- Header (xnnpack/vcvt.h) and function pointers
- Test generator and scripts
- Unit tests
PiperOrigin-RevId: 399063788
diff --git a/src/xnnpack/isa-checks.h b/src/xnnpack/isa-checks.h
index 5846e9f..a0d1aeb 100644
--- a/src/xnnpack/isa-checks.h
+++ b/src/xnnpack/isa-checks.h
@@ -48,6 +48,13 @@
} \
} while (0)
+#define TEST_REQUIRES_X86_F16C \
+ do { \
+ if (!cpuinfo_initialize() || !cpuinfo_has_x86_f16c()) { \
+ GTEST_SKIP(); \
+ } \
+ } while (0)
+
#define TEST_REQUIRES_X86_XOP \
do { \
if (!cpuinfo_initialize() || !cpuinfo_has_x86_xop()) { \