1 ;------------------------------------------------------------------------------
3 ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
4 ; SPDX-License-Identifier: BSD-2-Clause-Patent
16 ;------------------------------------------------------------------------------
21 ;------------------------------------------------------------------------------
29 ;------------------------------------------------------------------------------
30 global ASM_PFX(InternalMemSetMem)
31 ASM_PFX(InternalMemSetMem):
35 DB 0x48, 0xf, 0x6e, 0xc0 ; movd mm0, rax
37 mov rdi, r8 ; rdi <- Buffer
42 DB 0xf, 0x70, 0xC0, 0x0 ; pshufw mm0, mm0, 0h
44 DB 0xf, 0xe7, 0x7 ; movntq [rdi], mm0