#define NEW_SIMD_CODE
-#include "include/constants.h"
-#include "include/kernel_vendor.h"
-
-#define DGST_R0 0
-#define DGST_R1 3
-#define DGST_R2 2
-#define DGST_R3 1
-
-#include "include/kernel_functions.c"
-#include "OpenCL/types_ocl.c"
-#include "OpenCL/common.c"
-#include "OpenCL/simd.c"
+#include "inc_vendor.cl"
+#include "inc_hash_constants.h"
+#include "inc_hash_functions.cl"
+#include "inc_types.cl"
+#include "inc_common.cl"
+#include "inc_simd.cl"
#define MD4_STEP_REV(f,a,b,c,d,x,t,s) \
{ \
MD4_STEP0(MD4_Go, b, c, d, a, G_wdc01, MD4S13);
MD4_STEP0(MD4_Go, a, b, c, d, G_w2c01, MD4S10);
MD4_STEP0(MD4_Go, d, a, b, c, G_w6c01, MD4S11);
- MD4_STEP0(MD4_Go, c, d, a, b, G_wac01, MD4S12);
-
- if (MATCHES_NONE_VV (c, pre_c)) continue;
-
- MD4_STEP0(MD4_Go, b, c, d, a, G_wec01, MD4S13);
- MD4_STEP0(MD4_Go, a, b, c, d, G_w3c01, MD4S10);
-
- if (MATCHES_NONE_VV (a, pre_a)) continue;
-
+ MD4_STEP0(MD4_Go, c, d, a, b, G_wac01, MD4S12); if (MATCHES_NONE_VV (c, pre_c)) continue;
+ MD4_STEP0(MD4_Go, b, c, d, a, G_wec01, MD4S13); if (MATCHES_NONE_VV (b, pre_b)) continue;
+ MD4_STEP0(MD4_Go, a, b, c, d, G_w3c01, MD4S10); if (MATCHES_NONE_VV (a, pre_a)) continue;
MD4_STEP0(MD4_Go, d, a, b, c, G_w7c01, MD4S11);
MD4_STEP0(MD4_Go, c, d, a, b, G_wbc01, MD4S12);
MD4_STEP0(MD4_Go, b, c, d, a, G_wfc01, MD4S13);