diff --git a/neon-simd.cpp b/neon-simd.cpp index af336115..2dd1fa27 100644 --- a/neon-simd.cpp +++ b/neon-simd.cpp @@ -82,12 +82,11 @@ bool CPU_ProbeARMv7() else { // ARMv7 added movt and movw - //int a; - //asm volatile("movw %0,%1 \n" - // "movt %0,%1 \n" - // : "=r"(a) : "i"(0x1234)); - //result = (a == 0x12341234); - return true; + int a; + asm volatile("movw %0,%1 \n" + "movt %0,%1 \n" + : "=r"(a) : "i"(0x1234)); + result = (a == 0x12341234); } sigprocmask(SIG_SETMASK, (sigset_t*)&oldMask, NULLPTR);