Add detection code for AVX2, HLE, RTM and AES to qsimd.cpp
authorThiago Macieira <thiago.macieira@intel.com>
Sun, 22 Apr 2012 14:05:31 +0000 (16:05 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 25 Apr 2012 12:58:36 +0000 (14:58 +0200)
commit105b2312145e8868f5357d9e7ba78a9cddcfee64
tree7bda6f583d2c30ae7c6ab8baa774ee7d2caa98ea
parente75b0e8c72008f800704828cd4f1eae97b523848
Add detection code for AVX2, HLE, RTM and AES to qsimd.cpp

AES is currently not enabled, since we don't use it for anything. The
code is here with the proper detection should we want to in the
future.

RTM and HLE (Transactional Memory Extensions) I'll use soon in the
locking code.

Also rename a few variables to make it easier to read later on.

Change-Id: I800c66d7e1ba86ec037692928d94f53ea5d5868f
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/corelib/tools/qsimd.cpp
src/corelib/tools/qsimd_p.h