Commit graph

3 commits

Author SHA1 Message Date
Anton Blanchard
c82bc561b5 crc32-vpmsum: Restore non volatile registers on zero length CRC
This is never hit in practice, because the wrapper code catches it,
but fix the zero length exit to restore all the non volatile registers.

From: aaf0ac48a4

Signed-off-by: Anton Blanchard <anton@samba.org>
2016-08-05 11:50:46 +04:00
Daniel Black
a2c826b6aa MDEV-9872: New Power8 crc32(ieee) optimized functions
These are different from the existing crc32 functions which
where really crc32c.
2016-08-05 11:50:46 +04:00
Sergey Vojtovich
9c2215e022 MDEV-9872 - Add common optimized CRC32 function interface
Move crc32-vpmsum to extra.
Compile static crc32-vpmsum instead of adding sources directly.
Make use of crc32-vpmsum via my_checksum().

Based on contribution by Daniel Black.
2016-08-04 10:45:20 +04:00