Skip to content

Conversation

@evanj
Copy link
Contributor

@evanj evanj commented Jan 5, 2026

When crc32 was not supported and compiled for aarch64, RocksDB logs "Not supported on x86". Change to "Not supported on Arm64".

Add a unit test for the function.

For aarch64: Switch from the deprecated __ARM_FEATURE_CRYPTO macro to the finer-grained __ARM_FEATURE_AES macro, which determines if the pmull instruction is supported. Use these instead of HAVE_* since they are well documented and supported by Clang and GCC.

The deprecation notice for __ARM_FEATURE_CRYPTO:
https://arm-software.github.io/acle/main/acle.html#crypto-extension

When crc32 was not supported and compiled for aarch64, RocksDB
logs "Not supported on x86". Change to "Not supported on Arm64".

Add a unit test for the function.

For aarch64: Switch from the deprecated __ARM_FEATURE_CRYPTO macro
to the finer-grained __ARM_FEATURE_AES macro, which determines if
the pmull instruction is supported. Use these instead of HAVE_* since
they are well documented and supported by Clang and GCC.

The deprecation notice for __ARM_FEATURE_CRYPTO:
https://arm-software.github.io/acle/main/acle.html#crypto-extension
@meta-cla meta-cla bot added the CLA Signed label Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant