2020-09-11 14:03:42 +00:00
|
|
|
From 6a926f8792843ec5fc13885259bd8fbbf55b5a0b Mon Sep 17 00:00:00 2001
|
2018-06-12 23:39:41 +00:00
|
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
Date: Tue, 12 Jun 2018 17:37:24 -0600
|
|
|
|
Subject: [PATCH] fix armv5 build
|
|
|
|
|
|
|
|
---
|
|
|
|
src/system/sysutils.cpp | 14 --------------
|
|
|
|
1 file changed, 14 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/system/sysutils.cpp b/src/system/sysutils.cpp
|
2020-09-11 14:03:42 +00:00
|
|
|
index 0b30b09..cd9751a 100644
|
2018-06-12 23:39:41 +00:00
|
|
|
--- a/src/system/sysutils.cpp
|
|
|
|
+++ b/src/system/sysutils.cpp
|
|
|
|
@@ -189,20 +189,6 @@ void system_specific_initialise()
|
|
|
|
fesetenv(FE_DFL_DISABLE_DENORMS_ENV);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
-#if defined __ARMEL__
|
|
|
|
- // ARM32
|
|
|
|
- static const unsigned int x = 0x04086060;
|
|
|
|
- static const unsigned int y = 0x03000000;
|
|
|
|
- int r;
|
|
|
|
- asm volatile (
|
|
|
|
- "fmrx %0, fpscr \n\t"
|
|
|
|
- "and %0, %0, %1 \n\t"
|
|
|
|
- "orr %0, %0, %2 \n\t"
|
|
|
|
- "fmxr fpscr, %0 \n\t"
|
|
|
|
- : "=r"(r)
|
|
|
|
- : "r"(x), "r"(y)
|
|
|
|
- );
|
|
|
|
-#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
void system_specific_application_initialise()
|
|
|
|
--
|
2020-09-11 14:03:42 +00:00
|
|
|
2.28.0
|
2018-06-12 23:39:41 +00:00
|
|
|
|