SHA256
1
0
forked from pool/zlib
Tomáš Chvátal 2019-03-19 15:32:53 +00:00 committed by Git OBS Bridge
parent 3685577878
commit 3e9872beee

View File

@ -1316,7 +1316,7 @@ Index: zlib-1.2.11/contrib/power8-crc/vec_crc32.c
===================================================================
--- /dev/null
+++ 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
+ * 16 bytes.
@ -1359,6 +1359,8 @@ Index: zlib-1.2.11/contrib/power8-crc/vec_crc32.c
+#include "crc32_constants.h"
+#endif
+
+#include "../zutil.h"
+
+#define VMX_ALIGN 16
+#define VMX_ALIGN_MASK (VMX_ALIGN-1)
+