Is there support for half-precision floating point on the nRF52832? Either Keil or GCC.
Is there support for half-precision floating point on the nRF52832? Either Keil or GCC.
Hi,
The nRF52832 uses the ARM Cortex M4 processor with floating-point unit (FPU). The FPU implemented supports Single-precision floating-point. This will give you more precision compared to a half-precision floating-point solution. The FPU provides floating-point computation functionality that is compliant with the IEEE 754 standard.
So the answer is no? can we do for example two fp16 operations in parallel? thanks
can we do for example two fp16 operations in parallel?
No.
So the answer is no?
I believe fp16 is supported as a storage format only(e.g. set -mfp16-format=alternative in the makefile), but when used in any arithmetic or other operations, it will be automatically converted to fp32