Fix ARMv7 detection after c6c44aa5d1

pull/687/head
Jeffrey Walton 2018-07-10 05:08:27 -04:00
parent c6c44aa5d1
commit 8dc15f4c56
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 5 additions and 6 deletions

View File

@ -82,12 +82,11 @@ bool CPU_ProbeARMv7()
else else
{ {
// ARMv7 added movt and movw // ARMv7 added movt and movw
//int a; int a;
//asm volatile("movw %0,%1 \n" asm volatile("movw %0,%1 \n"
// "movt %0,%1 \n" "movt %0,%1 \n"
// : "=r"(a) : "i"(0x1234)); : "=r"(a) : "i"(0x1234));
//result = (a == 0x12341234); result = (a == 0x12341234);
return true;
} }
sigprocmask(SIG_SETMASK, (sigset_t*)&oldMask, NULLPTR); sigprocmask(SIG_SETMASK, (sigset_t*)&oldMask, NULLPTR);