projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d69e1
)
Add read barrier definition
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Mon, 13 Apr 2020 10:10:37 +0000
(12:10 +0200)
committer
GitHub
<noreply@github.com>
Mon, 13 Apr 2020 10:10:37 +0000
(12:10 +0200)
common_arm.h
patch
|
blob
|
history
diff --git
a/common_arm.h
b/common_arm.h
index
8411e6d
..
ee691ad
100644
(file)
--- a/
common_arm.h
+++ b/
common_arm.h
@@
-37,11
+37,13
@@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define MB
#define WMB
+#define RMB
#else
#define MB __asm__ __volatile__ ("dmb ish" : : : "memory")
#define WMB __asm__ __volatile__ ("dmb ishst" : : : "memory")
+#define RMB __asm__ __volatile__ ("dmb ishld" : : : "memory")
#endif