[llvm-branch-commits] compiler-rt: Introduce runtime functions for emulated PAC. (PR #133530)
Peter Collingbourne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Apr 2 21:38:44 PDT 2025
================
@@ -0,0 +1,7343 @@
+/*
+ * xxHash - Extremely Fast Hash algorithm
+ * Header File
+ * Copyright (C) 2012-2023 Yann Collet
+ *
+ * BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php)
----------------
pcc wrote:
Understood, I've uploaded a new change that replaces the hash with SipHash.
Unfortunately SipHash is subtantially slower than xxhash and led to a ~3.5x slowdown (vs native PAC instructions) on the benchmark cited in my original RFC (and BLAKE3 isn't header only which would make it substantially harder to integrate here). Hopefully the performance hit doesn't turn out to be a problem here.
https://github.com/llvm/llvm-project/pull/133530
More information about the llvm-branch-commits
mailing list