Implementing C23 _Float16 in ImportC

Sergey kornburn at yandex.ru
Wed Jan 15 06:42:45 UTC 2025


On Tuesday, 14 January 2025 at 22:14:01 UTC, Walter Bright wrote:
> The interesting thing is not the existence of the types. It's 
> how they are implemented. The X86_64 architecture does not 
> support a 16 bit floating point type.

It had some limited support starting from 2018 had AVX512-FP16.
And some newer models of x86 support both FP16 and BF16.

* 
https://networkbuilders.intel.com/docs/networkbuilders/intel-avx-512-fp16-instruction-set-for-intel-xeon-processor-based-products-technology-guide-1651874188.pdf

* 
https://stackoverflow.com/questions/49995594/half-precision-floating-point-arithmetic-on-intel-chips

Also it is important for AI/ML models, which can run on ARM CPUs, 
GPUs and TPUs



More information about the Digitalmars-d mailing list