Files
mesa/src/util
Grazvydas Ignotas 6acf22a179 util: use faster zlib's CRC32 implementaion
zlib provides a faster slice-by-4 CRC32 implementation than the
traditional single byte lookup one used by mesa. As most supported
platforms now link zlib unconditionally, we can easily use it.

Improvement for a 1MB buffer (avg MB/s, n=100, zlib 1.2.8):

  i5-6600K                    C2D E4500
mesa zlib                    mesa zlib
 443 1443 225% +/- 2.1%       403 1175 191% +/- 0.9%

It has been verified the calculation results stay the same after this
change.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2018-01-14 19:10:33 +02:00
..
2017-09-13 12:43:42 -07:00
2017-10-12 08:52:38 +11:00
2018-01-08 11:40:02 -05:00
2017-08-02 09:50:57 +02:00
2017-11-09 11:57:21 +01:00
2017-07-31 12:55:19 -07:00
2015-03-18 21:06:26 -07:00
2017-12-15 19:01:12 +00:00
2017-09-03 09:05:23 +01:00
2015-06-29 09:06:40 -07:00
2015-12-04 14:06:41 +00:00
2017-11-09 11:37:30 +01:00
2017-07-14 14:14:05 +01:00
2017-07-31 15:38:41 +02:00
2017-07-31 15:38:41 +02:00