qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Richard Henderson
Subject: Re: [PATCH v3 10/10] accel/tcg: include cs_base in our hash calculations
Date: Fri, 5 May 2023 19:27:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 5/5/23 16:53, Alex Bennée wrote:
+                      uint32_t flags, uint64_t flags2, uint32_t cf_mask)
  {
-    return qemu_xxhash6(phys_pc, pc, flags, cf_mask);
+    return qemu_xxhash8(phys_pc, pc, flags,
+                        flags2 & 0xffff, flags2 >> 32, cf_mask);

Well not that mask, obviously. Either pass it whole, like pc, or just let the compiler truncate for you without the mask.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]