Re: [PATCH v4 2/7] plugins: save value during memory accesses

2024-07-04 Thread Pierrick Bouvier
On 7/3/24 11:58, Richard Henderson wrote: On 7/2/24 11:44, Pierrick Bouvier wrote: Different code paths handle memory accesses: - tcg generated code - load/store helpers - atomic helpers This value is saved in cpu->plugin_state. Atomic operations are doing read/write at the same time, so we ge

Re: [PATCH v4 2/7] plugins: save value during memory accesses

2024-07-03 Thread Richard Henderson
On 7/2/24 11:44, Pierrick Bouvier wrote: Different code paths handle memory accesses: - tcg generated code - load/store helpers - atomic helpers This value is saved in cpu->plugin_state. Atomic operations are doing read/write at the same time, so we generate two memory callbacks instead of one,

[PATCH v4 2/7] plugins: save value during memory accesses

2024-07-02 Thread Pierrick Bouvier
Different code paths handle memory accesses: - tcg generated code - load/store helpers - atomic helpers This value is saved in cpu->plugin_state. Atomic operations are doing read/write at the same time, so we generate two memory callbacks instead of one, to allow plugins to access distinct values