notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7190d0a
)
unbreak ctr build
author
notaz
<notasas@gmail.com>
Fri, 26 Dec 2025 02:10:05 +0000
(
04:10
+0200)
committer
notaz
<notasas@gmail.com>
Fri, 26 Dec 2025 02:36:09 +0000
(
04:36
+0200)
plugins/gpulib/gpu_async.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpulib/gpu_async.c
b/plugins/gpulib/gpu_async.c
index
99a9e09
..
4e40f31
100644
(file)
--- a/
plugins/gpulib/gpu_async.c
+++ b/
plugins/gpulib/gpu_async.c
@@
-36,8
+36,10
@@
#define FAKECMD_SCREEN_CHANGE 0xdfu
#define FAKECMD_BREAK 0xdeu
-#if defined(__aarch64__) || defined(HAVE_ARMV
6
)
+#if defined(__aarch64__) || defined(HAVE_ARMV
7
)
#define BARRIER() __asm__ __volatile__ ("dmb ishst" ::: "memory")
+#elif defined(HAVE_ARMV6)
+#define BARRIER() __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" :: "r"(0) : "memory")
#else
#define BARRIER() __asm__ __volatile__ ("" ::: "memory")
#endif