aboutsummaryrefslogtreecommitdiff
path: root/stand/libsa/zfs/blake3_impl_hack.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-05-01 16:07:00 +0000
committerWarner Losh <imp@FreeBSD.org>2023-05-01 21:02:54 +0000
commit6c8358cd7ffd71acec74036429a8afb502720722 (patch)
tree0fb22b6a73f2d9c36f318fa17c14b7383f3c4b72 /stand/libsa/zfs/blake3_impl_hack.c
parent96b119340eec331bdbbbdea606dae64cd2dce774 (diff)
downloadsrc-6c8358cd7ffd71acec74036429a8afb502720722.tar.gz
src-6c8358cd7ffd71acec74036429a8afb502720722.zip
stand: back out the most of the horrible aarch64 kludge
Add one ifdef to upstrem code and get rid of compiling the horrible checked-in aarch64 assembler for the boot loader that the loader will never use. I'll attempt to upstream this and adjust as needed. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D39897
Diffstat (limited to 'stand/libsa/zfs/blake3_impl_hack.c')
-rw-r--r--stand/libsa/zfs/blake3_impl_hack.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/stand/libsa/zfs/blake3_impl_hack.c b/stand/libsa/zfs/blake3_impl_hack.c
index 2be6cc54e774..789807714e2c 100644
--- a/stand/libsa/zfs/blake3_impl_hack.c
+++ b/stand/libsa/zfs/blake3_impl_hack.c
@@ -5,8 +5,8 @@
*/
/*
- * Hack for aarch64... There's no way to tell it omit the SIMD
- * versions, so we fake it here.
+ * Hack for aarch64... Not sure why isspace isn't defined, but it sure doesn't
+ * belong here.
*/
#ifndef isspace
static __inline int isspace(int c)
@@ -16,22 +16,3 @@ static __inline int isspace(int c)
#endif
#include "blake3_impl.c"
-
-/*
-static inline boolean_t blake3_is_not_supported(void)
-{
- return (B_FALSE);
-}
-
-const blake3_ops_t blake3_sse2_impl = {
- .is_supported = blake3_is_not_supported,
- .degree = 4,
- .name = "fakesse2"
-};
-
-const blake3_ops_t blake3_sse41_impl = {
- .is_supported = blake3_is_not_supported,
- .degree = 4,
- .name = "fakesse41"
-};
-*/