On Fri, 2025-09-05 at 08:50 +0800, Lulu Cheng wrote:
>
> 在 2025/9/4 下午7:48, Lulu Cheng 写道:
> >
> > 在 2025/8/22 下午4:14, Xi Ruoyao 写道:
> > > In a CAS operation, even if expected != *memory we still need to
> > > do an
> > > atomic load of *memory into output. But I made a mistake in the
> > > init
在 2025/8/22 下午4:14, Xi Ruoyao 写道:
In a CAS operation, even if expected != *memory we still need to do an
atomic load of *memory into output. But I made a mistake in the initial
implementation, causing the output to contain junk in this situation.
Like a normal atomic load, the atomic load emb
在 2025/9/4 下午7:48, Lulu Cheng 写道:
在 2025/8/22 下午4:14, Xi Ruoyao 写道:
In a CAS operation, even if expected != *memory we still need to do an
atomic load of *memory into output. But I made a mistake in the initial
implementation, causing the output to contain junk in this situation.
Like a nor
In a CAS operation, even if expected != *memory we still need to do an
atomic load of *memory into output. But I made a mistake in the initial
implementation, causing the output to contain junk in this situation.
Like a normal atomic load, the atomic load embedded in the CAS semantic
is required