Commit 385abe8
committed
atomics/powerpc: Fix WMB instruction
* `lwsync` is a write memory barrier.
- `eieio` is really not meant for this type of operation.
* `lwsync` can also be used for the read memory barrier according to
my reading of the of the Power 8 ISA docs (v2.07)
- https://www-01.ibm.com/marketing/iwm/iwm/web/reg/download.do?source=swg-opower&S_PKG=dl&lang=en_US&cp=UTF-8
* References openpmix/openpmix#391
Signed-off-by: Joshua Hursey <[email protected]>
(cherry picked from commit 4796193)
Signed-off-by: Joshua Hursey <[email protected]>1 parent 7588e86 commit 385abe8
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
0 commit comments