1#include <asm.inc> 2 3.code 4 5MACRO(DEFINE_ALIAS, alias, orig) 6EXTERN &orig : PROC 7ALIAS <&alias> = <&orig> 8ENDM 9 10#ifdef _M_X64 11DEFINE_ALIAS _rotl, __function_rotl 12DEFINE_ALIAS _rotr, __function_rotr 13DEFINE_ALIAS _lrotl, __function_lrotl 14DEFINE_ALIAS _lrotr, __function_lrotr 15#else 16DEFINE_ALIAS __rotl, ___function_rotl 17DEFINE_ALIAS __rotr, ___function_rotr 18DEFINE_ALIAS __lrotl, ___function_lrotl 19DEFINE_ALIAS __lrotr, ___function_lrotr 20#endif 21 22END 23