Closed cwpearson closed 5 years ago
https://github.com/c3sr/comm_scope/blob/5db2562505e55c6852dd3ed7222b73566612efda/src/utils/cache_control.hpp#L33
This linux version uses "+m" on an output operand instead of "m" on an input operand.
https://github.com/torvalds/linux/blob/7876320f88802b22d4e2daf7eb027dd14175a0f8/arch/x86/include/asm/special_insns.h#L213-L216
https://github.com/c3sr/comm_scope/blob/5db2562505e55c6852dd3ed7222b73566612efda/src/utils/cache_control.hpp#L33
This linux version uses "+m" on an output operand instead of "m" on an input operand.
https://github.com/torvalds/linux/blob/7876320f88802b22d4e2daf7eb027dd14175a0f8/arch/x86/include/asm/special_insns.h#L213-L216