Re: [PATCH v4 10/10] accel/tcg: include cs_base in our hash calculations

2023-05-23 Thread Richard Henderson
On 5/23/23 05:50, Alex Bennée wrote: static inline uint32_t qemu_xxhash5(uint64_t ab, uint64_t cd, uint32_t e) { -return qemu_xxhash7(ab, cd, e, 0, 0); +return qemu_xxhash8(ab, cd, e, 0, 0); } static inline uint32_t qemu_xxhash6(uint64_t ab, uint64_t cd, uint32_t e,

[PATCH v4 10/10] accel/tcg: include cs_base in our hash calculations

2023-05-23 Thread Alex Bennée
We weren't using cs_base in the hash calculations before. Since the arm front end moved a chunk of flags in a378206a20 (target/arm: Move mode specific TB flags to tb->cs_base) they comprise of an important part of the execution state. Widen the tb_hash_func to include cs_base and expand to qemu_xx