#define _CRC32_
-#define NEW_SIMD_CODE
+//incompatible because of branches
+//#define NEW_SIMD_CODE
#include "include/constants.h"
#include "include/kernel_vendor.h"
const u32 lid = get_local_id (0);
/**
- * digest
+ * salt
*/
const u32 iv = salt_bufs[salt_pos].salt_buf[0];
const u32x w0 = w0l | w0r;
+ /**
+ * crc32
+ */
+
u32x w_t[16];
w_t[ 0] = w0;
const u32 lid = get_local_id (0);
/**
- * digest
+ * salt
*/
const u32 iv = salt_bufs[salt_pos].salt_buf[0];
+ /**
+ * digest
+ */
+
const u32 search[4] =
{
digests_buf[digests_offset].digest_buf[DGST_R0],
const u32x w0 = w0l | w0r;
+ /**
+ * crc32
+ */
+
u32x w_t[16];
w_t[ 0] = w0;