3DCore: rip away the configure option and static choice of SIMD
Instead, simply use whatever is available from the compiler.
This also does away with the separation between Matrix4x4_SSE and
Matrix4x4_AVX2. The two classes store the data the same way and are
source-compatible; they just operate differently. This also allows for
an AVX2-enabled Qt3DRenderer to link to and run with a non-AVX Qt3DCore.
Change-Id: I76216ced393445a4ae2dfffd172a512266b2414d
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
| commit | 00cb8afafb2867b348aa529c0702252d12d1b4d6 |
| parent | 15e4fc5daeeec5eeb0c1ccb0ce6f76b5b284e2c7 |
| author | Thiago Macieira <thiago.macieira@intel.com> |
| committer | Thiago Macieira <thiago.macieira@intel.com> |
| commit time | Thu, 19 Jan 2023 19:18:52 -0800 |
- M config_help.txt
- M src/core/CMakeLists.txt
- M src/core/aligned_malloc_p.h
- M src/core/configure.cmake
- M src/core/resources/qresourcemanager.cpp
- D src/core/transforms/matrix4x4_avx2.cpp
- M src/core/transforms/matrix4x4_avx2_p.h
- M src/core/transforms/matrix4x4_p.h
- M src/core/transforms/matrix4x4_sse.cpp
- M src/core/transforms/matrix4x4_sse_p.h
- M src/core/transforms/vector3d_p.h
- M src/core/transforms/vector3d_sse.cpp
- M src/core/transforms/vector3d_sse_p.h
- M src/core/transforms/vector4d_p.h
- M src/core/transforms/vector4d_sse.cpp
- M src/core/transforms/vector4d_sse_p.h
- M src/render/backend/uniform_p.h
- M tests/auto/core/CMakeLists.txt
- D tests/auto/core/matrix4x4_avx2/CMakeLists.txt
- D tests/auto/core/matrix4x4_avx2/matrix4x4_avx2.pro
- D tests/auto/core/matrix4x4_avx2/tst_matrix4x4_avx2.cpp
- M tests/auto/core/matrix4x4_sse/tst_matrix4x4_sse.cpp
- M tests/auto/core/vector3d_sse/tst_vector3d_sse.cpp
- M tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp
- M tests/auto/render/CMakeLists.txt
- D tests/auto/render/alignedresourcesmanagers-avx/CMakeLists.txt
- D tests/auto/render/alignedresourcesmanagers-avx/alignedresourcesmanagers-avx.pro
- D tests/auto/render/alignedresourcesmanagers-avx/tst_alignedresourcesmanagers-avx.cpp
- M tests/auto/render/alignedresourcesmanagers-sse/tst_alignedresourcesmanagers-sse.cpp