Updated Visual C++ build

This commit is contained in:
Sam Lantinga
2008-09-15 07:34:36 +00:00
parent 6dfa39cc32
commit e6e45a547d
9 changed files with 284 additions and 36 deletions

View File

@@ -638,6 +638,33 @@ RETZERO:
/* *INDENT-ON* */
}
void
__declspec(naked)
_allshr()
{
/* *INDENT-OFF* */
__asm {
cmp cl,40h
jae RETZERO
cmp cl,20h
jae MORE32
shrd eax,edx,cl
sar edx,cl
ret
MORE32:
mov eax,edx
xor edx,edx
and cl,1Fh
sar eax,cl
ret
RETZERO:
xor eax,eax
xor edx,edx
ret
}
/* *INDENT-ON* */
}
void
__declspec(naked)
_aullshr()