On Nov 11, 2024, at 15:45, Nan Xiao wrote:
>
> Hello,
>
> Greetings from me!
>
> I am reading "4.3.4.2 A Volatile Solution" of perfbook, and come
> across following summary:
>
>To summarize, the volatile keyword can prevent load tearing and
> store tearing in cases where the loads and stor
Hello,
Greetings from me!
I am reading "4.3.4.2 A Volatile Solution" of perfbook, and come
across following summary:
To summarize, the volatile keyword can prevent load tearing and
store tearing in cases where the loads and stores are machine-sized
and properly aligned. It can also prevent l