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-11-25 12:30:46 -08:00
2018-01-11 15:40:02 -08:00
2018-01-03 22:57:56 +01:00
2016-05-25 09:41:44 -07:00
2018-01-03 09:49:08 -06:00
2017-03-13 11:16:34 +00:00
2017-07-10 22:44:48 +02:00
2016-03-24 15:20:44 -07:00
2017-09-13 12:43:42 -07:00
2017-09-13 09:49:27 -07:00
2018-01-14 19:10:33 +02:00
2016-11-22 18:05:51 +01:00
2015-11-24 10:02:55 -05:00
2017-09-07 08:54:44 +01:00
2017-12-07 11:50:41 +00:00
2017-10-12 08:52:38 +11:00
2017-12-20 09:43:42 +02:00
2017-03-22 16:55:22 +00:00
2016-08-05 09:07:04 -07:00
2015-11-27 10:55:22 +01:00
2017-03-10 14:12:48 +00:00
2017-11-09 13:58:10 +01:00
2015-10-16 19:33:37 -04:00
2017-10-10 11:28:31 -06:00
2017-10-30 15:18:00 +00:00
2017-10-30 15:18:00 +00:00
2017-04-03 13:09:05 -06:00
2018-01-12 02:52:10 +01:00
2018-01-08 11:40:02 -05:00
2017-11-09 11:57:21 +01:00
2017-08-02 09:50:57 +02:00
2017-11-25 12:30:46 -08:00
2017-03-22 11:33:51 +00:00
2017-04-03 13:09:05 -06:00
2018-01-11 15:40:02 -08:00
2017-11-10 18:20:35 +00:00
2017-11-09 11:57:21 +01:00
2017-10-12 22:39:31 -07:00
2017-08-11 10:43:31 +10:00
2017-06-01 14:26:12 +01:00
2017-03-23 08:16:29 +11:00
2017-07-31 12:55:19 -07:00
2017-07-25 14:44:52 -07:00
2014-09-17 11:27:25 +10:00
2014-09-17 11:27:25 +10:00
2015-03-18 21:06:26 -07:00
2016-08-17 12:53:20 -06:00
2017-12-15 19:01:12 +00:00
2017-06-08 09:26:44 +02:00
2015-01-15 13:21:27 -08:00
2015-01-28 16:33:34 -08:00
2017-11-17 09:27:57 -07:00
2017-05-29 01:52:16 +02:00
2016-10-05 15:40:40 +02:00
2017-09-26 18:24:33 +02:00
2017-09-26 18:24:33 +02:00
2017-03-22 16:55:23 +00:00
2017-09-03 09:05:23 +01:00
2015-06-29 09:06:40 -07:00
2014-09-17 11:27:25 +10:00
2015-12-04 14:06:41 +00:00
2017-09-22 17:12:24 +03:00
2017-11-09 11:37:30 +01:00
2017-06-18 14:10:32 +02:00
2017-11-29 14:04:40 +00:00
2017-11-20 18:15:49 +01:00
2017-11-20 18:15:53 +01:00
2017-10-23 15:10:24 -06:00
2017-11-10 16:37:54 +01:00
2017-08-18 11:56:58 -07:00
2017-07-14 14:14:05 +01:00
2017-08-26 11:20:06 +01:00
2017-07-31 15:38:41 +02:00
2017-07-31 15:38:41 +02:00