Use "movd" instruction to manipulate MMX register to support more GNU assemblers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9055 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#------------------------------------------------------------------------------
|
||||
ASM_GLOBAL ASM_PFX(InternalMemSetMem32)
|
||||
ASM_PFX(InternalMemSetMem32):
|
||||
movq %r8, %mm0 # mm0 <- Value
|
||||
movd %r8, %mm0 # mm0 <- Value
|
||||
movq %rcx, %rax # rax <- Buffer
|
||||
xchgq %rdx, %rcx # rcx <- Count rdx <- Buffer
|
||||
shrq $1, % rcx # rcx <- # of qwords to set
|
||||
|
Reference in New Issue
Block a user