-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
olaf-devel: fix for older systems and powerpc (#23913)
- Loading branch information
1 parent
3e17ec9
commit c910209
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/pffft.c 2023-09-29 22:52:51.000000000 +0800 | ||
+++ src/pffft.c 2024-05-12 10:31:03.000000000 +0800 | ||
@@ -96,7 +96,7 @@ | ||
/* | ||
Altivec support macros | ||
*/ | ||
-#if !defined(PFFFT_SIMD_DISABLE) && (defined(__ppc__) || defined(__ppc64__)) | ||
+#if !defined(PFFFT_SIMD_DISABLE) && (defined(__ppc__) || defined(__ppc64__)) && !defined(__APPLE__) | ||
typedef vector float v4sf; | ||
# define SIMD_SZ 4 | ||
# define VZERO() ((vector float) vec_splat_u8(0)) |