mirror of https://github.com/YosysHQ/yosys.git
hashlib: fudge always
This commit is contained in:
parent
582259f770
commit
209ab6fb72
|
@ -99,8 +99,7 @@ class Hasher {
|
|||
[[nodiscard]]
|
||||
static uint32_t mkhash(uint32_t a, uint32_t b) {
|
||||
uint32_t hash = ((a << 5) + a) ^ b;
|
||||
if (fudge)
|
||||
hash = fudge ^ mkhash_xorshift(hash);
|
||||
hash = mkhash_xorshift(fudge ^ hash);
|
||||
return hash;
|
||||
}
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue