mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-09 14:45:39 +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
|
@ -25,7 +25,7 @@ IF(CMAKE_COMPILER_IS_GNUCC)
|
||||||
#include <smmintrin.h>
|
#include <smmintrin.h>
|
||||||
int main() {
|
int main() {
|
||||||
const unsigned int testMe = 5;
|
const unsigned int testMe = 5;
|
||||||
return _mm_popcnt_u32(testMe);
|
return !(2 == _mm_popcnt_u32(testMe));
|
||||||
}"
|
}"
|
||||||
HAS_SSE_POPCNT
|
HAS_SSE_POPCNT
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue