4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync;------------------------------------------------------------------------------
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync; This program and the accompanying materials
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync; are licensed and made available under the terms and conditions of the BSD License
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync; which accompanies this distribution. The full text of the license may be found at
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync; Module Name:
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync; 64-bit left shift function for IA-32
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync;------------------------------------------------------------------------------
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync .model flat,C
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync;------------------------------------------------------------------------------
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync; InternalMathLShiftU64 (
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync; IN UINT64 Operand,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync; IN UINTN Count
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync;------------------------------------------------------------------------------
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncInternalMathLShiftU64 PROC
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync mov cl, [esp + 12]
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync xor eax, eax
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync mov edx, [esp + 4]
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync test cl, 32 ; Count >= 32?
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync cmovz eax, edx
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync cmovz edx, [esp + 8]
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync shld edx, eax, cl
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync shl eax, cl
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncInternalMathLShiftU64 ENDP