Re: [Mesa-dev] [PATCH 3/3] i965/fs: Recognize and emit ld_lz, sample_lz, sample_c_lz.

2016-05-10 Thread Kenneth Graunke
On Wednesday, May 4, 2016 5:41:37 PM PDT Kenneth Graunke wrote: > On Wednesday, May 4, 2016 3:54:14 PM PDT Matt Turner wrote: > > Ken suggested instead of a big and complicated optimization pass, to > > just recognize the operations here. It's certainly less code and a lot > > prettier, but it

Re: [Mesa-dev] [PATCH 3/3] i965/fs: Recognize and emit ld_lz, sample_lz, sample_c_lz.

2016-05-04 Thread Kenneth Graunke
On Wednesday, May 4, 2016 3:54:14 PM PDT Matt Turner wrote: > Ken suggested instead of a big and complicated optimization pass, to > just recognize the operations here. It's certainly less code and a lot > prettier, but it seems to actually perform worse for currently unknown > reasons. One

[Mesa-dev] [PATCH 3/3] i965/fs: Recognize and emit ld_lz, sample_lz, sample_c_lz.

2016-05-04 Thread Matt Turner
Ken suggested instead of a big and complicated optimization pass, to just recognize the operations here. It's certainly less code and a lot prettier, but it seems to actually perform worse for currently unknown reasons. total instructions in shared programs: 8514403 -> 8495373 (-0.22%)