mariadb/extra
Daniel Axtens 2538c7cf89 Use POWER8 accelerated crc32
- Make accelerated checksum available to InnoDB and XtraDB.
 - Fall back to slice-by-eight if not available. The mode used is printed on startup.
 - Will only build on POWER systems at the moment until CMakeLists are modified
   to only add the crc32_power8/ files when building on POWER.

running MySQL-5.7 unittest/gunit/innodb/ut0crc32-t

Before:

1..2
Using software crc32 implementation, CPU is little-endian
ok 1
Using software crc32 implementation, CPU is little-endian
    normal CRC32: real    0.148006 sec
    normal CRC32: user    0.148000 sec
    normal CRC32: sys     0.000000 sec
big endian CRC32: real    0.144293 sec
big endian CRC32: user    0.144000 sec
big endian CRC32: sys     0.000000 sec
ok 2

After:

1..2
Using POWER8 crc32 implementation, CPU is little-endian
ok 1
Using POWER8 crc32 implementation, CPU is little-endian
    normal CRC32: real    0.008097 sec
    normal CRC32: user    0.008000 sec
    normal CRC32: sys     0.000000 sec
big endian CRC32: real    0.147043 sec
big endian CRC32: user    0.144000 sec
big endian CRC32: sys     0.000000 sec
ok 2

Author CRC32 ASM code: Anton Blanchard <anton@au.ibm.com>
ref: https://github.com/antonblanchard/crc32-vpmsum

Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
2015-12-15 15:11:17 +11:00
..
readline Merge 10.0.14 into 10.1 2014-10-15 12:59:13 +02:00
yassl Merge branch '10.0' into 10.1 2015-10-12 00:37:58 +02:00
charset2html.c Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 15:53:48 +01:00
CMakeLists.txt Use POWER8 accelerated crc32 2015-12-15 15:11:17 +11:00
comp_err.c MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
innochecksum.cc MDEV-8773: InnoDB innochecksum does not work with encrypted or page compressed tables 2015-09-19 11:31:39 +03:00
my_print_defaults.c Minor cleanups, fix compiler warnings 2014-08-09 13:22:01 +03:00
mysql_waitpid.c 5.3 merge 2012-01-13 15:50:02 +01:00
perror.c MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
replace.c mysql-5.5.41 merge 2014-12-19 11:35:44 +01:00
resolve_stack_dump.c cleanup: use MYF() for mysys flags 2013-01-23 16:18:09 +01:00
resolveip.c MDEV-419 ensure that all HAVE_XXX constants can be set by cmake 2012-07-31 19:29:07 +02:00