diff options
author | Philip Reames <listmail@philipreames.com> | 2019-05-09 23:23:42 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2019-05-09 23:23:42 +0000 |
commit | bd588dfd594774197bd53dc555f9512b301328db (patch) | |
tree | ac9631a2a8678a7e11fddd1c54ad3dbf4e5cd3cc /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp | |
parent | 112967833e4f8f4943beb71dfe5fdfe17788cadd (diff) | |
download | bcm5719-llvm-bd588dfd594774197bd53dc555f9512b301328db.tar.gz bcm5719-llvm-bd588dfd594774197bd53dc555f9512b301328db.zip |
[X86] Improve lowering of idemptotent RMW operations
The current lowering uses an mfence. mfences are substaintially higher latency than the locked operations originally requested, but we do want to avoid contention on the original cache line. As such, use a locked instruction on a cache line assumed to be thread local.
Differential Revision: https://reviews.llvm.org/D58632
llvm-svn: 360393
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions