diff --git a/src/net.cpp b/src/net.cpp index c30b1649f94..ff2ab609137 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2691,8 +2691,8 @@ int Extractor::extract(int blob_index, Mat& feat, int type) // clang-format off // *INDENT-OFF* -#if NCNN_ARM82 - if (d->opt.use_fp16_storage && cpu_support_arm_asimdhp() && (type == 0)) +#if NCNN_VFPV4 + if (d->opt.use_fp16_storage && cpu_support_arm_vfpv4() && (type == 0)) { if (feat.elembits() == 16) { @@ -2702,7 +2702,7 @@ int Extractor::extract(int blob_index, Mat& feat, int type) } } else -#endif // NCNN_ARM82 +#endif // NCNN_VFPV4 #if NCNN_BF16 if (d->opt.use_bf16_storage && (type == 0)) {