Re: [PATCH v2 01/14] plugins: implement inline operation relative to cpu_index

2024-01-29 Thread Pierrick Bouvier
On 1/26/24 16:07, Alex Bennée wrote: Pierrick Bouvier writes: 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

Re: [PATCH v2 01/14] plugins: implement inline operation relative to cpu_index

2024-01-26 Thread Alex Bennée
Pierrick Bouvier writes: > 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. > >

[PATCH v2 01/14] plugins: implement inline operation relative to cpu_index

2024-01-17 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