diff --git a/OpenCL/inc_common.cl b/OpenCL/inc_common.cl index 818b32e69..6976daed6 100644 --- a/OpenCL/inc_common.cl +++ b/OpenCL/inc_common.cl @@ -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); diff --git a/docs/changes.txt b/docs/changes.txt index 283e3c0d4..8e0579a0d 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -87,7 +87,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