Re: [PATCH 0/2] target/arm: Look up ARMCPRegInfo at runtime

2023-01-23 Thread Peter Maydell
On Fri, 6 Jan 2023 at 19:45, Richard Henderson wrote: > > Here's a short-to-medium term alternative to moving all of the ARMCPU > cp_regs hash table to the ARMCPUClass, so that we're no longer leaving > dangling pointers to freed objects encoded in the compiled > TranslationBlocks. (I still think

Re: [PATCH 0/2] target/arm: Look up ARMCPRegInfo at runtime

2023-01-17 Thread Richard Henderson
On 1/17/23 00:28, Peter Maydell wrote: On Mon, 16 Jan 2023 at 20:16, Richard Henderson wrote: Ping. What did you think of my suggestion in the other thread of hashing the info we need to determine the cpreg set (ID regs, feature flags, etc) and using that to look up whether we've already cre

Re: [PATCH 0/2] target/arm: Look up ARMCPRegInfo at runtime

2023-01-17 Thread Peter Maydell
On Mon, 16 Jan 2023 at 20:16, Richard Henderson wrote: > > Ping. What did you think of my suggestion in the other thread of hashing the info we need to determine the cpreg set (ID regs, feature flags, etc) and using that to look up whether we've already created a cpreg hashtable for this config?

Re: [PATCH 0/2] target/arm: Look up ARMCPRegInfo at runtime

2023-01-16 Thread Richard Henderson
Ping. r~ On 1/6/23 09:44, Richard Henderson wrote: Here's a short-to-medium term alternative to moving all of the ARMCPU cp_regs hash table to the ARMCPUClass, so that we're no longer leaving dangling pointers to freed objects encoded in the compiled TranslationBlocks. (I still think we ought

[PATCH 0/2] target/arm: Look up ARMCPRegInfo at runtime

2023-01-06 Thread Richard Henderson
Here's a short-to-medium term alternative to moving all of the ARMCPU cp_regs hash table to the ARMCPUClass, so that we're no longer leaving dangling pointers to freed objects encoded in the compiled TranslationBlocks. (I still think we ought to do less work at object_{init,realize}, but that may