arch: arm: aarch32: Remove CPU type dependency from CONFIG_FP16

The commit 434ca63e2f introduced the
Cortex-A and Cortex-R CPU type dependency to `CONFIG_FP16` based on
the reasoning that the hardware half-precision support is only
available on them.

While it is true that the _hardware_ half-precision support is limited
to these targets, the compiler will provide the _software_ emulation
for the targets that lack the hardware half-precision support, as
mentioned in 41fd6e003c (the original
commit that introduced `CONFIG_FP16`).

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
This commit is contained in:
Stephanos Ioannidis 2023-05-19 19:35:08 +09:00 committed by Carles Cufí
parent e3a429e27e
commit a1d71bf05e

View file

@ -285,7 +285,6 @@ endchoice
config FP16
bool "Half-precision floating point support"
depends on CPU_AARCH32_CORTEX_A || CPU_AARCH32_CORTEX_R || CPU_CORTEX_M55
default y
help
This option enables the half-precision (16-bit) floating point support