SetMem64.S revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
2N/A#------------------------------------------------------------------------------
2N/A#
2N/A# Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
2N/A# This program and the accompanying materials
2N/A# are licensed and made available under the terms and conditions of the BSD License
2N/A# which accompanies this distribution. The full text of the license may be found at
2N/A# http://opensource.org/licenses/bsd-license.php.
2N/A#
2N/A# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
2N/A# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
2N/A#
2N/A# Module Name:
2N/A#
2N/A# SetMem64.asm
2N/A#
2N/A# Abstract:
2N/A#
2N/A# SetMem64 function
2N/A#
2N/A# Notes:
2N/A#
2N/A#------------------------------------------------------------------------------
2N/A
2N/AASM_GLOBAL ASM_PFX(InternalMemSetMem64)
2N/A
2N/A#------------------------------------------------------------------------------
2N/A# VOID *
2N/A# InternalMemSetMem64 (
2N/A# IN VOID *Buffer,
2N/A# IN UINTN Count,
2N/A# IN UINT64 Value
2N/A# )
2N/A#------------------------------------------------------------------------------
2N/AASM_PFX(InternalMemSetMem64):
2N/A movl 4(%esp), %eax
2N/A movl 8(%esp), %ecx
2N/A movq 12(%esp), %mm0
2N/A movl %eax, %edx
2N/AL0:
2N/A movq %mm0, (%edx)
2N/A lea 8(%edx), %edx
2N/A loopl L0
2N/A ret
2N/A