1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-08-05 05:15:20 +00:00

Fix SIMD for 34200, 34201 a3 pure kernels

This commit is contained in:
qasikfwn 2025-07-25 14:11:01 +10:00
parent 4d27a0a6d8
commit 35ff3047e4
2 changed files with 8 additions and 8 deletions

View File

@ -3,14 +3,14 @@
* License.....: MIT
*/
//#define NEW_SIMD_CODE
#define NEW_SIMD_CODE
#ifdef KERNEL_STATIC
#include M2S(INCLUDE_PATH/inc_vendor.h)
#include M2S(INCLUDE_PATH/inc_types.h)
#include M2S(INCLUDE_PATH/inc_platform.cl)
#include M2S(INCLUDE_PATH/inc_common.cl)
#include M2S(INCLUDE_PATH/inc_scalar.cl)
#include M2S(INCLUDE_PATH/inc_simd.cl)
#endif
DECLSPEC u64 MurmurHash64A (const u64 seed, PRIVATE_AS const u32 *data, const u32 len)
@ -118,7 +118,7 @@ KERNEL_FQ KERNEL_FA void m34200_mxx (KERN_ATTR_VECTOR ())
const u32x r1 = h32_from_64 (hash);
const u32x z = 0;
COMPARE_M_SCALAR (r0, r1, z, z);
COMPARE_M_SIMD (r0, r1, z, z);
}
}
@ -187,6 +187,6 @@ KERNEL_FQ KERNEL_FA void m34200_sxx (KERN_ATTR_VECTOR ())
const u32x r1 = h32_from_64 (hash);
const u32x z = 0;
COMPARE_S_SCALAR (r0, r1, z, z);
COMPARE_S_SIMD (r0, r1, z, z);
}
}

View File

@ -3,14 +3,14 @@
* License.....: MIT
*/
//#define NEW_SIMD_CODE
#define NEW_SIMD_CODE
#ifdef KERNEL_STATIC
#include M2S(INCLUDE_PATH/inc_vendor.h)
#include M2S(INCLUDE_PATH/inc_types.h)
#include M2S(INCLUDE_PATH/inc_platform.cl)
#include M2S(INCLUDE_PATH/inc_common.cl)
#include M2S(INCLUDE_PATH/inc_scalar.cl)
#include M2S(INCLUDE_PATH/inc_simd.cl)
#endif
DECLSPEC u64 MurmurHash64A (PRIVATE_AS const u32 *data, const u32 len)
@ -109,7 +109,7 @@ KERNEL_FQ KERNEL_FA void m34201_mxx (KERN_ATTR_VECTOR ())
const u32x r1 = h32_from_64 (hash);
const u32x z = 0;
COMPARE_M_SCALAR (r0, r1, z, z);
COMPARE_M_SIMD (r0, r1, z, z);
}
}
@ -169,6 +169,6 @@ KERNEL_FQ KERNEL_FA void m34201_sxx (KERN_ATTR_VECTOR ())
const u32x r1 = h32_from_64 (hash);
const u32x z = 0;
COMPARE_S_SCALAR (r0, r1, z, z);
COMPARE_S_SIMD (r0, r1, z, z);
}
}