x86 inline assembly should provide an alternative for Intel syntax
Open
- Dominant language
- C++
- Stars
- 214
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
Instead of
https://github.com/boostorg/thread/blob/52b62ee7b029028126c4eaf36e377833b0666510/include/boost/thread/win32/interlocked_read.hpp#L158
we should have
```c
__asm__ __volatile__ ("{ movl %1, %0 | mov %0, %1 }" : "=r" (res) : "m" (*x) : "memory");
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.