commit | aeefe81cc03267d7ba9a6bfaf8daef91fbd33aa0 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Mon Nov 20 10:06:45 2023 +0000 |
committer | VladimĂr Marko <vmarko@google.com> | Fri Nov 24 11:52:40 2023 +0000 |
tree | 9ea7db94ab2a5b454d42c04200a8efa44580372c | |
parent | 0ac7d570c99ddb1a22429a2f51e05d48a26daa36 [diff] |
riscv64: Implement VarHandle.GetAndUpdate intrinsics. Also fix `GenerateCompareAndSet()` to avoid ANDN inside a LR/SC sequence as the instruction is not part of the base "I" instruction set. Test: testrunner.py --target --64 --ndebug --optimizing Bug: 283082089 Change-Id: I09caa0486d9bedf93a40f0f15cab1e6bef19969c