-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch mkfit to build on aarch64/ppc64el
- Loading branch information
Showing
3 changed files
with
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
diff --git a/mkFit/immintrin.h b/mkFit/immintrin.h | ||
new file mode 100644 | ||
index 0000000..363d136 | ||
--- /dev/null | ||
+++ b/immintrin.h | ||
@@ -0,0 +1,4 @@ | ||
+#include <stdlib.h> | ||
+#define _mm_malloc(a, b) aligned_alloc(b, a) | ||
+#define _mm_free(p) free(p) | ||
+#define _mm_prefetch(a,b) __builtin_prefetch(a) |
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