summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2024-10-17 03:00:44 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2024-10-28 13:33:10 +0300
commitb8d2e7bac3f768e5ab0b52a4a6dd65aa130113be (patch)
tree052118c616b61edfc592aa01e8a49ab50158b478 /scripts/lib/kdoc/kdoc_files.py
parentebb445f5e7950a9e052a7df9e6f56c32539f2e55 (diff)
downloadlinux-b8d2e7bac3f768e5ab0b52a4a6dd65aa130113be.tar.xz
crypto: x86/aegis128 - eliminate some indirect calls
Instead of using a struct of function pointers to decide whether to call the encryption or decryption assembly functions, use a conditional branch on a bool. Force-inline the functions to avoid actually generating the branch. This improves performance slightly since indirect calls are slow. Remove the now-unnecessary CFI stubs. Note that just force-inlining the existing functions might cause the compiler to optimize out the indirect branches, but that would not be a reliable way to do it and the CFI stubs would still be required. Reviewed-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions