1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

add __bfe stub for AMD

This commit is contained in:
jsteube 2015-12-21 21:14:16 +01:00
parent 6c22de104e
commit 964ece53a3

View File

@ -19,6 +19,10 @@ static inline u64 swap64 (const u64 v)
} }
#ifdef IS_AMD #ifdef IS_AMD
static inline u32 __bfe (const u32 a, const u32 b, const u32 c)
{
return amd_bfe (a, b, c);
}
#endif #endif
#ifdef IS_NV #ifdef IS_NV
@ -40,7 +44,6 @@ static inline u32 __bfe (const u32 a, const u32 b, const u32 c)
return r; return r;
} }
#if CUDA_ARCH >= 350 #if CUDA_ARCH >= 350
static inline u32 amd_bytealign (const u32 a, const u32 b, const u32 c) static inline u32 amd_bytealign (const u32 a, const u32 b, const u32 c)