mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-30 21:04:15 +01:00
Make sure that cmake test properly checks return value of popcnt to test availability.
This commit is contained in:
parent
f2c2f7c9af
commit
38e26850fe
@ -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 New Issue
Block a user