Commit b4525b34 authored by Thiago Macieira's avatar Thiago Macieira Committed by Qt by Nokia
Browse files

Add configure-time checking for the SSE and AVX features on Windows


Modify configure.exe to run some configure-time tests and check if
the SSE and AVX compiler features are supported.

The tests themselves required a bit of changes to compile with
MSVC. The include in sse4_2.cpp was wrong. And for whatever reason, it
didn't like the volatile variables, which GCC, Clang and ICC have been
happy with. This should produce no effect in compilation, though: even
dead code must be syntactically correct. We're not running the output.

Change-Id: Ibe5d0904a378a7efed853c7215f88a2ddcefb1b3
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent f9c9d8aa
No related merge requests found
Showing with 177 additions and 31 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment