git: 087a2e64ba7d - main - openzfs: re-enable FPU usage on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Apr 2023 00:47:22 UTC
The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=087a2e64ba7ddcd6eb84597eb50c354f358fb7cd commit 087a2e64ba7ddcd6eb84597eb50c354f358fb7cd Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2023-04-27 00:47:14 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2023-04-27 00:47:14 +0000 openzfs: re-enable FPU usage on aarch64 The BLAKE3 generated assembly files have now been updated to avoid clobbering x18, we can safely re-enable FPU usage on aarch64. --- sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_aarch64.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_aarch64.h b/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_aarch64.h index 9edbc5f40455..4fe211983c33 100644 --- a/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_aarch64.h +++ b/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_aarch64.h @@ -58,12 +58,7 @@ #else -/* - * XXX kfpu_allowed() should be 1, but this is pending a fix to the BLAKE3 - * generated assembly to avoid clobbering x18. Turn it back on after that - * lands. - */ -#define kfpu_allowed() 0 +#define kfpu_allowed() 1 #define kfpu_begin() do { \ if (__predict_false(!is_fpu_kern_thread(0))) \ fpu_kern_enter(curthread, NULL, FPU_KERN_NOCTX); \