Enable crc32c accelleration for arm64 on OSX
authorJens Axboe <axboe@kernel.dk>
Wed, 25 Jan 2023 15:01:30 +0000 (08:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 Jan 2023 15:01:30 +0000 (08:01 -0700)
commit1e8ec88fd5f3ab4b7bbd0119708d94fd64a4e7ad
tree90bd89e5110ee9f1d5c7bbd13d886ca82eec6559
parent5ca54c1ba2db849dfaef5fe3aec60329b3df0bd1
Enable crc32c accelleration for arm64 on OSX

Before:

jensaxboe@Jenss-MacBook-Pro fio % ./fio --crctest=crc32c
crc32c:   440.18 MiB/sec

After:

ensaxboe@Jenss-MacBook-Pro fio % ./fio --crctest=crc32c
crc32c: 23923.00 MiB/sec

We know we have it on osx on arm hardware, enabling it is pretty
straightforward with that assumption.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure
os/os-mac.h