Closed nestorjhernandezm closed 10 years ago
made some corrections... this works:
nestor@nestor-OptiPlex-9010:~/steinwurf_projects/cpuid/build/linux/examples/print_cpuinfo>./print_cpuinfo_example
Platform: linux_gcc_x86
CPU has FPU?: Yes
CPU has MMX?: Yes
CPU has SSE?: Yes
CPU has SSE2?: Yes
CPU has SSE3?: Yes
CPU has SSSE3?: Yes
CPU has SSE4.1?: Yes
CPU has SSE4.2?: Yes
CPU has PCLMULQDQ?: Yes
CPU has AVX?: Yes
CPU has ARM NEON?: No
And...
nestor@nestor-OptiPlex-9010:~/steinwurf_projects/cpuid/build/linux/test> ./cpuid_tests --has_fpu=True --has_pclmulqdq=True --has_sse4_2=True --has_mmx=True --has_sse3=True --has_sse2=True --has_sse4_1=True --has_ssse3=True --has_sse=True --has_avx=True
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from cpuinfo_tests
[ RUN ] cpuinfo_tests.check_instruction_sets
Platform: linux_gcc_x86
[ OK ] cpuinfo_tests.check_instruction_sets (0 ms)
[----------] 1 test from cpuinfo_tests (0 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[ PASSED ] 1 test.
hi @mortenvp ,
Please check it and let me know.