qt5base-lts/config.tests
Thiago Macieira c062fed427 qsimd_p.h: add a hack to allow AVX to work with MinGW
GCC is unable to emit the SEH metadata about the stack aligning that is
required to execute AVX aligned instructions (VMOVDQA, VMOVAPS, etc.),
so it just doesn't align the stack. That causes crashes on a 50/50
chance every time the compiler attempts to address a stack-aligned
variable. In a debug-mode build, because it always loads & saves
everything on the stack, the chance of a crash happening is a near
certainty.

So we hack around it by going behind the compiler's back and instructing
the assembler to emit the unaligned counterparts of the instructions
every time the compiler wished to emit the aligned one. There's no
performance penalty: if the variable is actually aligned, the unaligned
instruction executes in the exact same time.

Change-Id: Ib42b3adc93bf4d43bd55fffd16c29cac0da18972
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2022-01-20 20:48:23 -03:00
..
arch wasm: add simd support 2021-10-05 11:30:06 +10:00
atomicfptr configure: un-namespace remaining non-inline configure tests 2017-08-02 16:38:00 +00:00
avx512 Remove the qmake project files 2021-01-07 15:32:28 +01:00
cmake_zstd Check whether CMake was built with zstd support 2021-04-16 16:49:28 +02:00
precompile_header CMake: Bump almost all cmake_minimum_required calls to 3.16 2021-09-22 19:36:49 +02:00
separate_debug_info Fix separate_debug_info configure test for cross-compilation 2021-09-28 15:59:31 +02:00
static_link_order CMake: Bump almost all cmake_minimum_required calls to 3.16 2021-09-22 19:36:49 +02:00
stl Remove the qmake project files 2021-01-07 15:32:28 +01:00
verifyspec Remove the qmake project files 2021-01-07 15:32:28 +01:00
x86_simd qsimd_p.h: add a hack to allow AVX to work with MinGW 2022-01-20 20:48:23 -03:00
.gitignore
.qmake.conf make also configure tests not see %LIB% and %INCLUDE% under mingw 2016-10-17 13:44:43 +00:00