diff options
| author | 2021-06-28 14:20:19 +0100 | |
|---|---|---|
| committer | 2021-06-29 09:28:45 +0000 | |
| commit | 3044d7ab7bca4c35d5a74bd4a524d8aa7a466cf7 (patch) | |
| tree | 0de8c535e33d33edb58543dc46b3d3dca3025f17 /runtime/gc/reference_processor.cc | |
| parent | 9060ebe88ee6917bea714d93b522197b4b184267 (diff) | |
x86_64: Add tests for CMPXCHG (without LOCK prefix).
For 8/32/64-bit variants LOCK CMPXCHG is implemented via CMPXCHG, so the
tests for LOCK CMPXCHG cover CMPXCHG as well. But the 16-bit variant of
LOCK CMPXCHG does not use CMPXCHG, because it has to reorder prefixes:
the operand size override prefix must go before the LOCK prefix to match
clang order. Therefore 16-bit CMPXCHG was not tested previously.
Bug: 65872996
Test: m test-art-host-gtest # new test cases for CMPXCHG
Change-Id: I6d021bb40cfc767143db914ff64276a23243e046
Diffstat (limited to 'runtime/gc/reference_processor.cc')
0 files changed, 0 insertions, 0 deletions