Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aarch32 AES support #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add aarch32 AES support #148

wants to merge 1 commit into from

Conversation

hyc
Copy link
Collaborator

@hyc hyc commented Oct 31, 2019

This is for an ARMv8 CPU running a 32bit OS, which identifies its arch
as armv7l. Compile flags must be set before the crypto feature is
exposed by the compiler:
-march=armv8-a+crypto -mfloat-abi=softfp -mfpu=crypto-neon-fp-armv8

Perf gain is actually minimal, probably too much overhead in moving
values between memory and vector registers. This PR is mainly for
documentation, not sure it's worth merging.

This is for an ARMv8 CPU running a 32bit OS, which identifies its arch
as armv7l. Compile flags must be set before the crypto feature is
exposed by the compiler:
 "-march=armv8-a+crypto -mfloat-abi=softfp -mfpu=crypto-neon-fp-armv8"

Perf gain is actually minimal, probably too much overhead in moving
values between memory and vector registers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant