.model flat,C\r
.code\r
\r
+;------------------------------------------------------------------------------\r
+; UINT64\r
+; EFIAPI\r
+; InternalMathLRotU64 (\r
+; IN UINT64 Operand,\r
+; IN UINTN Count\r
+; );\r
+;------------------------------------------------------------------------------\r
InternalMathLRotU64 PROC USES ebx\r
mov cl, [esp + 16]\r
mov edx, [esp + 12]\r
shld edx, eax, cl\r
ror ebx, cl\r
shld eax, ebx, cl\r
- test cl, 32\r
+ test cl, 32 ; Count >= 32?\r
cmovnz ecx, eax\r
cmovnz eax, edx\r
cmovnz edx, ecx\r