From: jsteube Date: Mon, 21 Dec 2015 20:14:16 +0000 (+0100) Subject: add __bfe stub for AMD X-Git-Tag: v3.00-beta~584^2~42 X-Git-Url: https://www.flypig.org.uk/git/?a=commitdiff_plain;h=964ece53a3e2629c9124f978e41fd4804fae0c2a;p=hashcat.git add __bfe stub for AMD --- diff --git a/OpenCL/types_ocl.c b/OpenCL/types_ocl.c index 74d00b9..0d58172 100644 --- a/OpenCL/types_ocl.c +++ b/OpenCL/types_ocl.c @@ -19,6 +19,10 @@ static inline u64 swap64 (const u64 v) } #ifdef IS_AMD +static inline u32 __bfe (const u32 a, const u32 b, const u32 c) +{ + return amd_bfe (a, b, c); +} #endif #ifdef IS_NV @@ -40,7 +44,6 @@ static inline u32 __bfe (const u32 a, const u32 b, const u32 c) return r; } - #if CUDA_ARCH >= 350 static inline u32 amd_bytealign (const u32 a, const u32 b, const u32 c)