#ifdef _M_IX86
__int64 _declspec(naked) _cdecl _allshl(__int64 ll, char shift) {
_asm{
test cl,32
jnz l1
shld edx,eax,cl
shl eax,cl
ret
l1: mov edx,eax
xor eax,eax
shl edx,cl
ret
}
}
__int64 _declspec(naked) _cdecl _allshr(__int64 ll, char shift) {
_asm{
test cl,32
jnz l1
shrd eax,edx,cl
sar edx,cl
ret
l1: mov eax,edx
xor edx,edx
sar eax,cl
ret
}
}
#endif
| Detected encoding: ASCII (7 bit) | 2 |