mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
hashlib: legacy mkhash_add -> djb2_add
This commit is contained in:
parent
4e29ec1854
commit
1df8a3e64b
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ const int hashtable_size_trigger = 2;
|
|||
const int hashtable_size_factor = 3;
|
||||
|
||||
namespace legacy {
|
||||
inline uint32_t mkhash_add(uint32_t a, uint32_t b) {
|
||||
inline uint32_t djb2_add(uint32_t a, uint32_t b) {
|
||||
return ((a << 5) + a) + b;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue