commit | 244f22bf574f8c1656e668e77e4636f442d1a214 | [log] [tgz] |
---|---|---|
author | Ulya Trafimovich <skvadrik@google.com> | Tue Jul 20 16:56:30 2021 +0100 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Wed Jul 21 17:12:20 2021 +0000 |
tree | 0fe0cc017fc2ae948d412d5533596544cbea7914 | |
parent | 4a889b7f1e58368f0ffd795eaa24f2f493ccab8d [diff] |
x86_64: Add LockXadd* helper function and tests for it. A separate function is need for 16-bit variant `lock xaddw` because the LOCK prefix should go after the operand size override prefix to match the order of prefixes emitted by the reference implementation. Bug: 65872996 Test: m test-art-host-gtest # new test cases for LOCK XADD Change-Id: I29946c75c76966cb9c6425b2a22eae3664ce3c00