Ooops! No ROTATE on some platforms after x86_64 performance patch...
This commit is contained in:
parent
a8239afc86
commit
a2049ba394
2 changed files with 6 additions and 2 deletions
|
@ -172,7 +172,8 @@
|
|||
ret; \
|
||||
})
|
||||
# endif
|
||||
#else
|
||||
#endif
|
||||
#ifndef ROTATE
|
||||
#define ROTATE(a,n) (((a)>>(n))+((a)<<(32-(n))))
|
||||
#endif
|
||||
|
||||
|
|
|
@ -166,8 +166,11 @@
|
|||
ret; \
|
||||
})
|
||||
# endif
|
||||
#else
|
||||
#endif
|
||||
#ifndef ROTATE_l32
|
||||
#define ROTATE_l32(a,n) (((a)<<(n&0x1f))|(((a)&0xffffffff)>>(32-(n&0x1f))))
|
||||
#endif
|
||||
#ifndef ROTATE_r32
|
||||
#define ROTATE_r32(a,n) (((a)<<(32-(n&0x1f)))|(((a)&0xffffffff)>>(n&0x1f)))
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue