Re: [PATCH v4 06/12] target/hexagon: introduce new helper functions

2021-04-19 Thread Alessandro Di Federico via
On Mon, 19 Apr 2021 15:00:17 + Taylor Simpson wrote: > Once this patch series is merged, many load/store instructions will > have manual overrides. I can easily provide overrides for the > remainder. Then, we could skip them in the idef-parser. At a > minimum, you should skip the ones that

RE: [PATCH v4 06/12] target/hexagon: introduce new helper functions

2021-04-19 Thread Taylor Simpson
ect: Re: [PATCH v4 06/12] target/hexagon: introduce new helper > functions > > On 4/15/21 9:34 AM, Alessandro Di Federico wrote: > > +void gen_store32(TCGv vaddr, TCGv src, tcg_target_long width, unsigned > slot) > > +{ > > +tcg_gen_mov_tl(hex_store_addr[slot], vaddr);

Re: [PATCH v4 06/12] target/hexagon: introduce new helper functions

2021-04-18 Thread Richard Henderson
On 4/15/21 9:34 AM, Alessandro Di Federico wrote: +void gen_store32(TCGv vaddr, TCGv src, tcg_target_long width, unsigned slot) +{ +tcg_gen_mov_tl(hex_store_addr[slot], vaddr); +tcg_gen_movi_tl(hex_store_width[slot], width); +tcg_gen_mov_tl(hex_store_val32[slot], src); +} + +void gen_

[PATCH v4 06/12] target/hexagon: introduce new helper functions

2021-04-15 Thread Alessandro Di Federico via
From: Niccolò Izzo These helpers will be employed by the idef-parser generated code. Signed-off-by: Alessandro Di Federico Signed-off-by: Niccolò Izzo --- target/hexagon/genptr.c | 188 target/hexagon/genptr.h | 22 + target/hexagon/macros.h | 9