I'm not even using these, but someone might be so I might as well make them faster.
This commit is contained in:
@@ -170,7 +170,7 @@ union dword_union
|
||||
#if defined(_MSC_VER) || defined(__BCPLUSPLUS__)
|
||||
# define INTEL_INTRINSICS
|
||||
# define FAST_ROTATE
|
||||
#elif defined(__MWERKS__) && TARGET_CPU_PPC
|
||||
#elif defined(__ppc__) || defined(__ppc64__) || defined(__MWERKS__) && TARGET_CPU_PPC
|
||||
# define PPC_INTRINSICS
|
||||
# define FAST_ROTATE
|
||||
#elif defined(__GNUC__) && defined(__i386__)
|
||||
|
||||
@@ -283,6 +283,9 @@ template<> inline word32 rotrMod<word32>(word32 x, unsigned int y)
|
||||
#endif // #ifdef INTEL_INTRINSICS
|
||||
|
||||
#ifdef PPC_INTRINSICS
|
||||
#if !defined(__MWERKS__)
|
||||
# include <ppc_intrinsics.h>
|
||||
#endif
|
||||
|
||||
template<> inline word32 rotlFixed<word32>(word32 x, unsigned int y)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user