More preparation for OpenCL emulation mode

This commit is contained in:
jsteube
2019-03-23 22:13:59 +01:00
parent adeeaee84a
commit a44bed7549
6 changed files with 31 additions and 31 deletions

View File

@@ -6,16 +6,16 @@
#ifndef _BITOPS_H
#define _BITOPS_H
u32 hc_add3 (const u32 a, const u32 b, const u32 c);
u32 hc_add3_S (const u32 a, const u32 b, const u32 c);
u32 add3 (const u32 a, const u32 b, const u32 c);
u32 add3_S (const u32 a, const u32 b, const u32 c);
u32 rotl32 (const u32 a, const u32 n);
u32 rotr32 (const u32 a, const u32 n);
u64 rotl64 (const u64 a, const u64 n);
u64 rotr64 (const u64 a, const u64 n);
u32 rotl32 (const u32 a, const int n);
u32 rotr32 (const u32 a, const int n);
u64 rotl64 (const u64 a, const int n);
u64 rotr64 (const u64 a, const int n);
u16 byte_swap_16 (const u16 n);
u32 byte_swap_32 (const u32 n);
u64 byte_swap_64 (const u64 n);
u16 byte_swap_16 (const u16 n);
u32 byte_swap_32 (const u32 n);
u64 byte_swap_64 (const u64 n);
#endif // _BITOPS_H