diff options
author | Alexandre Ghiti <[email protected]> | 2024-11-03 15:51:46 +0100 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-11-11 07:33:13 -0800 |
commit | 6116e22ef33a8239f3d53bb25377e9ed733c4176 (patch) | |
tree | ad8f8c9ea81fded5b2cae3f1213d0f8ddc648b73 /tools/perf/scripts/python/syscall-counts.py | |
parent | 1658ef4314b37ff4858a6c207646ff9d280ca4f7 (diff) |
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 <[email protected]>
Signed-off-by: Alexandre Ghiti <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Andrea Parri <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions