Skip to content

Commit cc2ad30

Browse files
stephanosioqipengzha
authored andcommitted
arch: arm: aarch32: Remove CPU type dependency from CONFIG_FP16
The commit 434ca63 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 41fd6e0 (the original commit that introduced `CONFIG_FP16`). Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent dad70c4 commit cc2ad30

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm/core/aarch32/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ endchoice
285285

286286
config FP16
287287
bool "Half-precision floating point support"
288-
depends on CPU_AARCH32_CORTEX_A || CPU_AARCH32_CORTEX_R || CPU_CORTEX_M55
289288
default y
290289
help
291290
This option enables the half-precision (16-bit) floating point support

0 commit comments

Comments
 (0)