1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

all() function is not working as expected in scalar datatype case

This commit is contained in:
jsteube 2017-09-20 23:00:00 +02:00
parent 57a70710ae
commit 207ce9b853

View File

@ -1043,14 +1043,8 @@
#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