summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorFabian Blatter <fabianblatter09@gmail.com>2026-06-07 13:24:35 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2026-07-05 13:19:52 +0800
commit9deef9c5b8fcc702e69252bef46735d8b0d1f70c (patch)
treeb1bcd93f9aef5b1e866e75b53faf3715212babf2 /tools/perf/scripts/python/bin/stackcollapse-report
parent54e56712f071b56e9945baa33545c9afd0f2b0bd (diff)
crypto: ecc - Optimize vli additive operations using compiler builtins
Replace the software carry flag emulation with compiler builtins. Even the newest compilers struggle with taking advantage of the hardware carry flag. Compiler builtins allow the compiler to much more easily achieve this while still remaining constant-time. This yields an approximately 6-7% performance improvement on the ecc_gen_privkey, ecc_make_pub_key and crypto_ecdh_shared_secret functions on x86_64 on all curve sizes. Additionally, the code becomes much more readable. Signed-off-by: Fabian Blatter <fabianblatter09@gmail.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions