Martin Husemann skrev 2014-05-27 13:27:
Hm, is the crc function available on all CPUs? So that we do not end up emulating it on some hardware?On Tue, May 27, 2014 at 12:33:12PM +0200, Martin Husemann wrote:Spot on - not the decompress code, but the crc32() function in libsa. The optimized one in libkern uses large tables, but that makes it fast on VAX. The tiny one in libsa computes it all on the fly - and seems to be dog slow on VAX. I'm testing a change to switch back to the libkern one for VAX.Unfortunately that didn't do the trick. But still we should have an asm version of crc32 using the crc instruction. Anyone?
-- R