Fix ARMv7 detection after c6c44aa5d1
parent
c6c44aa5d1
commit
8dc15f4c56
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue