]> git.lizzy.rs Git - zlib.git/commit
Use ARM crc32 instructions if the ARM architecture has them.
authorMark Adler <madler@alumni.caltech.edu>
Mon, 18 Feb 2019 04:45:53 +0000 (20:45 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Mon, 18 Feb 2019 04:49:29 +0000 (20:49 -0800)
commitdeb44b57429b05d4ad5b4f793c969e58a9328f06
treef436a93bdf2da70196d94d58632fec3ffb58b112
parent52fc78baf216dac4e76c5eb3bd940f68e87086da
Use ARM crc32 instructions if the ARM architecture has them.

The ARM crc32 instructions will be used only if an architecture is
explicitly specified at compile time that has those instructions.
For example, -march=armv8.1-a or -march=armv8-a+crc, or if the
machine being compiled on has the instructions, -march=native.
crc32.c