cmd/compile: the riscv64 intrinsic for CompareAndSwapUint32 function needs to sign extend its "old" argument #57331
Labels
arch-riscv
Issues solely affecting the riscv64 architecture.
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
This is the riscv64 version of #57282, separately created for backport workflow.
(The bug is that if LL/SC is used to implement CAS, the sign extension of the "old" value must match the sign extension for store/conditional).
The fix is in https://go.dev/cl/457536
The text was updated successfully, but these errors were encountered: