Skip to content
  • Thiago Macieira's avatar
    Add configure-time checking for the SSE and AVX features on Windows · b4525b34
    Thiago Macieira authored
    
    
    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>
    b4525b34