Merge pull request #750 from smcv/arm-softfloat

backends: Only enable ARM "RunFast" mode when targeting hardware FPU
This commit is contained in:
Yamagi 2021-10-13 17:29:59 +02:00 committed by GitHub
commit 3f32958493
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,7 +192,7 @@ void Sys_SetupFPU(void) {
}
#else
void Sys_SetupFPU(void) {
#if defined(__arm__)
#if defined(__arm__) && defined(__ARM_PCS_VFP)
// Enable RunFast mode if not enabled already
static const unsigned int bit = 0x04086060;
static const unsigned int fpscr = 0x03000000;