Re: [PATCH v3 33/60] target/arm: Store cpregs key in the hash table directly

2022-04-22 Thread Peter Maydell
On Sun, 17 Apr 2022 at 19:09, Richard Henderson wrote: > > Cast the uint32_t key into a gpointer directly, which > allows us to avoid allocating storage for each key. > > Signed-off-by: Richard Henderson > --- > target/arm/cpu.c | 4 ++-- > target/arm/gdbstub.c | 2 +- > target/arm/helper.

[PATCH v3 33/60] target/arm: Store cpregs key in the hash table directly

2022-04-17 Thread Richard Henderson
Cast the uint32_t key into a gpointer directly, which allows us to avoid allocating storage for each key. Signed-off-by: Richard Henderson --- target/arm/cpu.c | 4 ++-- target/arm/gdbstub.c | 2 +- target/arm/helper.c | 45 3 files changed, 23