diff options
author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2024-11-03 17:51:46 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-11-11 18:33:13 +0300 |
commit | 6116e22ef33a8239f3d53bb25377e9ed733c4176 (patch) | |
tree | ad8f8c9ea81fded5b2cae3f1213d0f8ddc648b73 /tools/perf/scripts/python/parallel-perf.py | |
parent | 1658ef4314b37ff4858a6c207646ff9d280ca4f7 (diff) | |
download | linux-6116e22ef33a8239f3d53bb25377e9ed733c4176.tar.xz |
riscv: Improve zacas fully-ordered cmpxchg()
The current fully-ordered cmpxchgXX() implementation results in:
amocas.X.rl a5,a4,(s1)
fence rw,rw
This provides enough sync but we can actually use the following better
mapping instead:
amocas.X.aqrl a5,a4,(s1)
Suggested-by: Andrea Parri <andrea@rivosinc.com>
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Andrea Parri <parri.andrea@gmail.com>
Link: https://lore.kernel.org/r/20241103145153.105097-7-alexghiti@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions