From db4253f0ee4e5e7a5f992b928503c3dba6722a15 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Fri, 4 Nov 2022 09:39:55 +0100 Subject: [PATCH] New f16 files were not testing for ARM_FLOAT16_SUPPORTED --- Source/SupportFunctions/arm_f16_to_f64.c | 2 ++ Source/SupportFunctions/arm_f64_to_f16.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Source/SupportFunctions/arm_f16_to_f64.c b/Source/SupportFunctions/arm_f16_to_f64.c index d80295d2..d27da573 100644 --- a/Source/SupportFunctions/arm_f16_to_f64.c +++ b/Source/SupportFunctions/arm_f16_to_f64.c @@ -28,6 +28,7 @@ #include "dsp/support_functions_f16.h" +#if defined(ARM_FLOAT16_SUPPORTED) /** @ingroup groupSupport @@ -80,3 +81,4 @@ void arm_f16_to_f64( +#endif /* #if defined(ARM_FLOAT16_SUPPORTED) */ diff --git a/Source/SupportFunctions/arm_f64_to_f16.c b/Source/SupportFunctions/arm_f64_to_f16.c index a631b697..b4622f52 100644 --- a/Source/SupportFunctions/arm_f64_to_f16.c +++ b/Source/SupportFunctions/arm_f64_to_f16.c @@ -28,6 +28,8 @@ #include "dsp/support_functions_f16.h" +#if defined(ARM_FLOAT16_SUPPORTED) + /** @ingroup groupSupport */ @@ -78,3 +80,4 @@ void arm_f64_to_f16( @} end of f64_to_x group */ +#endif /* #if defined(ARM_FLOAT16_SUPPORTED) */