cmd/compile: the loong64 intrinsic for CompareAndSwapUint32 function needs to sign extend its "old" argument. [1.18 backport]
@dr2chase requested issue #57282 to be considered for backport to the next 1.18 minor release.
@gopherbot please open backport issues.
Loong64 isn't supported by 1.18, so not a bug.
The three bugs/CLs were collapsed into one, and this is the one. Therefore it is the backport, though loong64 code won't be included in the 1.18 backport CL.
Hi, what should we (loong64 porters) do at this point regarding this backport issue? Do we have to submit the backport CL now (or relatively quickly), or are you just planning to triage and decide on this later?
Hi, I'll get it this time (and sorry for the late reply; I was traveling, then the weekend.) Thank you for checking, though.
Change https://go.dev/cl/458357 mentions this issue: [release-branch.go1.18] cmd/compile: sign-extend the 2nd argument of the LoweredAtomicCas32 on mips64x,riscv64
Closed by merging commit eeaf508d13b463c0bd2224275e239c01e06f4ade (CL 458357) to release-branch.go1.18.