Re: [PATCH] Hexagon (target/hexagon) Add overrides for cache/sync/barrier instructions

2023-04-11 Thread Richard Henderson
On 4/11/23 04:29, Taylor Simpson wrote: These variables could be moved to DisasContext and allocated on demand. Even recently this was tedious, because of TCG temporary lifetime issues, but no longer. I'll work on this. The obvious advantage is to allow the TCG optimizer more opportunity to f

RE: [PATCH] Hexagon (target/hexagon) Add overrides for cache/sync/barrier instructions

2023-04-10 Thread Taylor Simpson
> -Original Message- > From: Richard Henderson > Sent: Monday, April 10, 2023 8:30 PM > To: Taylor Simpson ; qemu-devel@nongnu.org > Cc: phi...@linaro.org; a...@rev.ng; a...@rev.ng; Brian Cain > ; Matheus Bernardino (QUIC) > > Subject: Re: [PATCH] Hexagon (targe

Re: [PATCH] Hexagon (target/hexagon) Add overrides for cache/sync/barrier instructions

2023-04-10 Thread Richard Henderson
On 4/10/23 13:24, Taylor Simpson wrote: Most of these are not modelled in QEMU, so save the overhead of calling a helper. The only exception is dczeroa. It assigns to hex_dczero_addr, which is handled during packet commit. Signed-off-by: Taylor Simpson --- target/hexagon/gen_tcg.h | 24 +

[PATCH] Hexagon (target/hexagon) Add overrides for cache/sync/barrier instructions

2023-04-10 Thread Taylor Simpson
Most of these are not modelled in QEMU, so save the overhead of calling a helper. The only exception is dczeroa. It assigns to hex_dczero_addr, which is handled during packet commit. Signed-off-by: Taylor Simpson --- target/hexagon/gen_tcg.h | 24 target/hexagon/macros