Re: A question about "4.3.4.2 A Volatile Solution" of perfbook

2024-11-11 Thread Alan Huang
On Nov 11, 2024, at 17:30, Nan Xiao wrote: > > Hi Alan and Akira, > > Thanks very much for your answers! I have another question from > "4.3.4.2 A Volatile Solution". In this section, it mentions: > > 1. Implementations are forbidden from tearing an aligned volatile > access when machine inst

Re: A question about "4.3.4.2 A Volatile Solution" of perfbook

2024-11-10 Thread Alan Huang
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