Re: [PATCH v3 07/17] plugins: implement inline operation relative to cpu_index

2024-02-06 Thread Pierrick Bouvier
On 2/7/24 07:42, Richard Henderson wrote: On 2/6/24 19:24, Pierrick Bouvier wrote: Instead of working on a fixed memory location, allow to address it based on cpu_index, an element size and a given offset. Result address: ptr + offset + cpu_index * element_size. With this, we can target a membe

Re: [PATCH v3 07/17] plugins: implement inline operation relative to cpu_index

2024-02-06 Thread Richard Henderson
On 2/6/24 19:24, Pierrick Bouvier wrote: Instead of working on a fixed memory location, allow to address it based on cpu_index, an element size and a given offset. Result address: ptr + offset + cpu_index * element_size. With this, we can target a member in a struct array from a base pointer. C

[PATCH v3 07/17] plugins: implement inline operation relative to cpu_index

2024-02-06 Thread Pierrick Bouvier
Instead of working on a fixed memory location, allow to address it based on cpu_index, an element size and a given offset. Result address: ptr + offset + cpu_index * element_size. With this, we can target a member in a struct array from a base pointer. Current semantic is not modified, thus inlin