[Mesa-dev] [PATCH 0/2] V2: Use hash table cloning in copy propagation

Thomas Helland thomashelland90 at gmail.com
Wed Mar 14 10:33:15 UTC 2018


2018-03-14 8:13 GMT+01:00 Dave Airlie <airlied at gmail.com>:
> On 14 March 2018 at 09:22, Thomas Helland <thomashelland90 at gmail.com> wrote:
>> Sending out a v2 just in case someone has any more comments.
>> If not I'll probably push these tomorrow, or thursday.
>>
>> This is a revival of some old patches I had around to improve
>> the compile times in the glsl compiler by reducing the time
>> spend inserting items in the hash table in opt_copy_propagation.
>> I've only rebased this, as my system don't even want to compile
>> anything right now. I also don't remember if it was thoroughly
>> tested, so that will have to be done. Sending it out as Dave
>> might be interested in this to mitigate some of the overhead
>> his soft-dobule implementation incurs.
>>
>> Thomas Helland (2):
>>   util: Implement a hash table cloning function
>>   glsl: Use hash table cloning in copy propagation
>
> It definitely reduces the overheads in my tests, copy prop is no long
> a major thing
> in my perf results if I apply these.
>
> Dave.

That's awesome! I'll push this later this evening then =)
I've more patches in the works that could help you here,
I'll see if I can get those sent to the list later this evening.


More information about the mesa-dev mailing list