mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 15:18:16 +00:00
Improve CPU cracking speed by replacing vector comparison functions with the more advanced ones available on CPU
This commit is contained in:
parent
0e7bb074e6
commit
3d9b071e1e
@ -1043,8 +1043,14 @@
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef IS_CPU
|
||||
// CPU seem to have a bit more advanced vector comparison functions (on XOP/AVX2)
|
||||
#define MATCHES_NONE_VV(a,b) all ((a) != (b))
|
||||
#define MATCHES_NONE_VS(a,b) all ((a) != (b))
|
||||
#else
|
||||
#define MATCHES_NONE_VV(a,b) !(MATCHES_ONE_VV ((a), (b)))
|
||||
#define MATCHES_NONE_VS(a,b) !(MATCHES_ONE_VS ((a), (b)))
|
||||
#endif
|
||||
|
||||
// attack-mode 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user