This commit is contained in:
parent
3685577878
commit
3e9872beee
@ -1316,7 +1316,7 @@ Index: zlib-1.2.11/contrib/power8-crc/vec_crc32.c
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ zlib-1.2.11/contrib/power8-crc/vec_crc32.c
|
+++ zlib-1.2.11/contrib/power8-crc/vec_crc32.c
|
||||||
@@ -0,0 +1,677 @@
|
@@ -0,0 +1,679 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Calculate the checksum of data that is 16 byte aligned and a multiple of
|
+ * Calculate the checksum of data that is 16 byte aligned and a multiple of
|
||||||
+ * 16 bytes.
|
+ * 16 bytes.
|
||||||
@ -1359,6 +1359,8 @@ Index: zlib-1.2.11/contrib/power8-crc/vec_crc32.c
|
|||||||
+#include "crc32_constants.h"
|
+#include "crc32_constants.h"
|
||||||
+#endif
|
+#endif
|
||||||
+
|
+
|
||||||
|
+#include "../zutil.h"
|
||||||
|
+
|
||||||
+#define VMX_ALIGN 16
|
+#define VMX_ALIGN 16
|
||||||
+#define VMX_ALIGN_MASK (VMX_ALIGN-1)
|
+#define VMX_ALIGN_MASK (VMX_ALIGN-1)
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user