mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-25 15:58:56 +00:00
Make sure that cmake test properly checks return value of popcnt to test availability.
This commit is contained in:
parent
f2c2f7c9af
commit
38e26850fe
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ IF(CMAKE_COMPILER_IS_GNUCC)
|
|||
#include <smmintrin.h>
|
||||
int main() {
|
||||
const unsigned int testMe = 5;
|
||||
return _mm_popcnt_u32(testMe);
|
||||
return !(2 == _mm_popcnt_u32(testMe));
|
||||
}"
|
||||
HAS_SSE_POPCNT
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue