| gen_qfloat16_tables.cpp |
This tool generates the tables used by qfloat16 to implement a
software-emulated version of IEEE 754 binary16. qfloat16 automatically uses
CPU instructions to convert to and from float (IEEE 754 binary32), but if
the CPU is not guaranteed to have those instructions available at compile
time, then qfloat16 needs the tables to perform the conversion with
reasonable performance.
Because Qt requires float to be IEEE 754 binary32, these tables are
platform-independent and will never change.
|
5420 |
- |