- Notifications
You must be signed in to change notification settings - Fork5
Commite5603a2
committed
Mark x86's memory barrier inline assembly as clobbering the cpu flags.
x86's memory barrier assembly was marked as clobbering "memory" butnot "cc" even though 'addl' sets various flags. As it turns out gcc onx86 implicitly assumes "cc" on every inline assembler statement, soit's not a bug. But as that's poorly documented and might get copiedto architectures or compilers where that's not the case, it seemsbetter to be precise.Discussion: 20140919100016.GH4277@alap3.anarazel.deTo keep the code common, backpatch to 9.2 where explicit memorybarriers were introduced.1 parentafaefa1 commite5603a2
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
78 |
| - | |
| 78 | + | |
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
|
0 commit comments
Comments
(0)