diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2024-03-08 13:48:31 -0800 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2024-03-12 18:23:22 -0700 |
| commit | 7d4d6e88bc01affa9774cc304123ca0369c77800 (patch) | |
| tree | 3bd63c1cc3500f4c903e557417395c3d760727c1 /src/corelib/serialization/qjsonarray.cpp | |
| parent | c86e1758dda16852f81ec542713ae09ec0779fc1 (diff) | |
convertDoubleTo: add FP16 support
Currently unused. I've tested that GCC 13 and Clang 17 do compile this
and do output reasonable assembly, with and without AVX512FP16 (I also
tested AVX10.1 with GCC 14).
Clang is unable to allocate a "v" (vector) register when T is qfloat16,
so I could only implement the conversion using _Float16. Strictly
speaking, Clang >= 16 always knows about _Float16, but I didn't want to
have a different detection from qtypes.h.
Change-Id: I6818d78a57394e37857bfffd17bae860f8055324
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/serialization/qjsonarray.cpp')
0 files changed, 0 insertions, 0 deletions
