Re: [PATCH] Improve RTL CSE hash table hash usage

2023-05-03 Thread Richard Biener via Gcc-patches
On Fri, Feb 3, 2023 at 3:07 PM Richard Biener via Gcc-patches wrote: > > The RTL CSE hash table has a fixed number of buckets (32) each > with a linked list of entries with the same hash value. The > actual hash values are computed using hash_rtx which uses adds > for mixing and adds the rtx CODE

Re: [PATCH] Improve RTL CSE hash table hash usage

2023-02-03 Thread Richard Biener via Gcc-patches
> Am 03.02.2023 um 16:55 schrieb Richard Sandiford via Gcc-patches > : > > Richard Biener via Gcc-patches writes: Am 03.02.2023 um 15:20 schrieb Richard Sandiford via Gcc-patches : >>> >>> Richard Biener via Gcc-patches writes: The RTL CSE hash table has a fixed number of

Re: [PATCH] Improve RTL CSE hash table hash usage

2023-02-03 Thread Richard Sandiford via Gcc-patches
Richard Biener via Gcc-patches writes: >> Am 03.02.2023 um 15:20 schrieb Richard Sandiford via Gcc-patches >> : >> >> Richard Biener via Gcc-patches writes: >>> The RTL CSE hash table has a fixed number of buckets (32) each >>> with a linked list of entries with the same hash value. The >>> a

Re: [PATCH] Improve RTL CSE hash table hash usage

2023-02-03 Thread Richard Biener via Gcc-patches
> Am 03.02.2023 um 15:20 schrieb Richard Sandiford via Gcc-patches > : > > Richard Biener via Gcc-patches writes: >> The RTL CSE hash table has a fixed number of buckets (32) each >> with a linked list of entries with the same hash value. The >> actual hash values are computed using hash_rt

Re: [PATCH] Improve RTL CSE hash table hash usage

2023-02-03 Thread Richard Sandiford via Gcc-patches
Richard Biener via Gcc-patches writes: > The RTL CSE hash table has a fixed number of buckets (32) each > with a linked list of entries with the same hash value. The > actual hash values are computed using hash_rtx which uses adds > for mixing and adds the rtx CODE as CODE << 7 (apart from some >

[PATCH] Improve RTL CSE hash table hash usage

2023-02-03 Thread Richard Biener via Gcc-patches
The RTL CSE hash table has a fixed number of buckets (32) each with a linked list of entries with the same hash value. The actual hash values are computed using hash_rtx which uses adds for mixing and adds the rtx CODE as CODE << 7 (apart from some exceptions such as MEM). The unsigned int typed