Re: [RFC PATCH v1 04/43] tcg: Add gvec functions for creating consant vectors

2024-12-03 Thread Richard Henderson
On 12/3/24 12:19, Anton Johansson wrote: On 22/11/24, Richard Henderson wrote: On 11/20/24 19:49, Anton Johansson wrote: This commit adds a gvec function for copying data from constant array given in C to a gvec intptr_t. For each element, a host store of each constant is performed, this is no

Re: [RFC PATCH v1 04/43] tcg: Add gvec functions for creating consant vectors

2024-12-03 Thread Anton Johansson via
On 22/11/24, Richard Henderson wrote: > On 11/20/24 19:49, Anton Johansson wrote: > > This commit adds a gvec function for copying data from constant array > > given in C to a gvec intptr_t. For each element, a host store of > > each constant is performed, this is not ideal and will inflate TBs fo

Re: [RFC PATCH v1 04/43] tcg: Add gvec functions for creating consant vectors

2024-11-22 Thread Richard Henderson
On 11/20/24 19:49, Anton Johansson wrote: This commit adds a gvec function for copying data from constant array given in C to a gvec intptr_t. For each element, a host store of each constant is performed, this is not ideal and will inflate TBs for large vectors. Moreover, data will be copied du

[RFC PATCH v1 04/43] tcg: Add gvec functions for creating consant vectors

2024-11-20 Thread Anton Johansson via
This commit adds a gvec function for copying data from constant array given in C to a gvec intptr_t. For each element, a host store of each constant is performed, this is not ideal and will inflate TBs for large vectors. Moreover, data will be copied during each run of the generated code impactin