1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-02 02:41:35 +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 committed by Fist0urs
parent a6294537fd
commit 7a17b8159b

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