qfloat16: include the tables in AVX2 binaries regardless
Having a QtCore build optimized for AVX2 does not imply all user binaries and libraries are optimized the same way. Most of them will actually have been built for the base platform, which means they require access to these tables to operate if they are using qfloat16. Introduced by 5e40d3d982d014cd01db4dbe6aecc6ea6baf840a. Change-Id: If79a52e476594446baccfffd15ee2da9e3693cce Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
parent
71fa90a37c
commit
056230cc9c
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
#if !defined(__F16C__) && !defined(__ARM_FP16_FORMAT_IEEE)
|
#if !defined(__ARM_FP16_FORMAT_IEEE)
|
||||||
|
|
||||||
const quint32 qfloat16::mantissatable[2048] = {
|
const quint32 qfloat16::mantissatable[2048] = {
|
||||||
0,
|
0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user