提交 6be4688b 编写于 作者: A Andy Polyakov

Ooops! No ROTATE on some platforms after x86_64 performance patch...

上级 717c5cdc
......@@ -169,7 +169,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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册