aboutsummaryrefslogtreecommitdiff
path: root/patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch
diff options
context:
space:
mode:
authorneonloop2023-07-24 22:07:02 +0000
committerneonloop2023-07-24 22:07:02 +0000
commit694af47e2b3dc8c24dac704f293f4bcf9ab67858 (patch)
tree381e226413736125f116696671bbc58d61cc2981 /patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch
parentecb3c7bf765a84413ac0a53ffca7c8bf470c821f (diff)
downloadpicoarch-694af47e2b3dc8c24dac704f293f4bcf9ab67858.tar.gz
picoarch-694af47e2b3dc8c24dac704f293f4bcf9ab67858.tar.bz2
picoarch-694af47e2b3dc8c24dac704f293f4bcf9ab67858.zip
Changes funkey-s platform to unix-armv7-hardfloat-neon
More generic platform is supported by more cores, fewer patches needed to get cores to build. Adding new cores is easier. unix-armv7-cortexa7-hardfloat-neon causes warnings, maybe SDK bug? Generic platform may not be as optimized, but speed difference can be fixed with patches if discovered.
Diffstat (limited to 'patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch')
-rw-r--r--patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch b/patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch
new file mode 100644
index 0000000..3ec7acb
--- /dev/null
+++ b/patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 3e7941c..104d457 100644
+--- a/Makefile
++++ b/Makefile
+@@ -200,6 +200,8 @@ else
+ BUILDDIR := release
+ ifeq ($(platform),vita)
+ CFLAGS := -DNDEBUG -O3 -fno-ident -fno-partial-inlining
++ else ifneq (,$(findstring armv7,$(platform)))
++ CFLAGS := -DNDEBUG -Ofast -fno-ident
+ else
+ CFLAGS := -DNDEBUG -O2 -fno-ident
+ endif