Make AVX2 check more robust
authorErik Lindahl <erik@kth.se>
Fri, 11 Jul 2014 08:16:27 +0000 (10:16 +0200)
committerErik Lindahl <erik@kth.se>
Fri, 11 Jul 2014 08:16:27 +0000 (10:16 +0200)
commite1f722a51df2a4417140efabb84452b48ba04117
treeccfe25da4fd7f26cec6cf47bc9e1374730bf8f59
parente9739f4be82ea11e6f411ef4776479b2f6fa6f09
Make AVX2 check more robust

Apparently the GNU assembler version 2.20 supported some
parts of AVX2 (in particular the FMA floating-point ops),
which caused our cmake test to pass. This patch changes
it to test the integer addition instead, which isn't
supported in as-2.20 in my tests.

Change-Id: I79e516639fc78d1590d306f486eb027962388543
cmake/gmxTestSimd.cmake