1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-04 22:02:36 +00:00

Merge pull request #4110 from matrix/fix_AppleSilicon_swap64

Update PR #3735
This commit is contained in:
Jens Steube 2025-05-24 10:23:50 +02:00 committed by GitHub
commit a27fc23a14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -1317,7 +1317,7 @@ DECLSPEC u64x hc_swap64 (const u64x v)
asm volatile ("mov.b64 %0, {%1, %2};" : "=l"(r.sf) : "r"(tr.sf), "r"(tl.sf));
#endif
#elif defined IS_METAL
#elif defined IS_METAL || defined IS_APPLE_SILICON
const u32x a0 = h32_from_64 (v);
const u32x a1 = l32_from_64 (v);
@ -1391,7 +1391,7 @@ DECLSPEC u64 hc_swap64_S (const u64 v)
asm volatile ("mov.b64 %0, {%1, %2};" : "=l"(r) : "r"(tr), "r"(tl));
#elif defined IS_METAL
#elif defined IS_METAL || defined IS_APPLE_SILICON
const u32 v0 = h32_from_64_S (v);
const u32 v1 = l32_from_64_S (v);

View File

@ -92,7 +92,7 @@
- Fixed build failed for 18400 with Apple Metal
- Fixed build failed for 18600 with Apple Metal
- Fixed build failed for 4410 with vector width > 1
- Fixed build failure for almost all hash modes that make use of hc_swap64 and/or hc_swap64_S with Apple Metal
- Fixed build failure for almost all hash modes that make use of hc_swap64 and/or hc_swap64_S with Apple Metal / Apple Silicon
- Fixed debug mode 5 by adding the missing colon between original-word and finding-rule
- Fixed display problem of the "Optimizers applied" list for algorithms using OPTI_TYPE_SLOW_HASH_SIMD_INIT2 and/or OPTI_TYPE_SLOW_HASH_SIMD_LOOP2
- Fixed incompatible pointer types (salt1 and salt2 buf) in 3730 a3 kernel