diff options
author | Andra Danciu <andradanciu@google.com> | 2020-09-11 09:24:01 +0000 |
---|---|---|
committer | Orion Hodson <oth@google.com> | 2020-09-15 08:12:58 +0000 |
commit | 8d8380a2fafef53836127a79bc772f0d1ff41df0 (patch) | |
tree | e85cbdc0db74023df6506ee736dfbcba178849dc /compiler/optimizing/codegen_test_utils.h | |
parent | 3d9c0d9d8beb8a1d2ea65c53e14e7c2499b7ce10 (diff) |
X86: Refactor UnsafeCAS and VarHandle.compareAndSet intrinsics.
This commit overloads GenCAS method to have the possibility to use it
for code generation of both UnsafeCAS and VarHandle.compareAndSet. This
also implied readjusting the locations builder of VarHandle
compareAndSet.
Test: ART_HEAP_POISONING=true art/test.py --host --all-compiler -r --32
Test: ART_HEAP_POISONING=false art/test.py --host --all-compiler -r --32
Test: ART_USE_READ_BARRIER=true art/test.py --host --all-compiler -r --32
Test: ART_USE_READ_BARRIER=false art/test.py --host --all-compiler -r --32
Bug: 65872996
Change-Id: Iaabcbf3d239313cb701c622f2f63e46d11e9f982
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions