cpu: disable VFP asm when not available

Fixes #1746
This commit is contained in:
Wim Taymans 2021-10-25 16:32:16 +02:00
parent 5dfc3494dc
commit 2cddd4a775

View file

@ -143,7 +143,7 @@ static int arm_zero_denormals(void *object, bool enable)
"msr fpcr, %0 \n"
"isb \n"
: "=r"(cw)::"memory");
#else
#elif (defined(__VFP_FP__) && !defined(__SOFTFP__))
uint32_t cw;
if (enable)
__asm__ __volatile__(