Martin L Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/78819?usp=email )
Change subject: arch/x86/memcpy: Change unrecognized instruction movsd to movsq ......................................................................
arch/x86/memcpy: Change unrecognized instruction movsd to movsq
When doing a 64-bit compile, I noticed a warning saying that movsd was not recognized, and that movsl was being used instead. I think that's an incorrect replacement, and that movsq should be used instead.
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: Ib3f55f50da74a9c24d2fdd0fa45bd0019b2fdc0a --- M src/arch/x86/memcpy.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/78819/1
diff --git a/src/arch/x86/memcpy.c b/src/arch/x86/memcpy.c index 93002cd..478f610 100644 --- a/src/arch/x86/memcpy.c +++ b/src/arch/x86/memcpy.c @@ -16,7 +16,7 @@
asm volatile( #if ENV_X86_64 - "rep ; movsd\n\t" + "rep ; movsq\n\t" "mov %4,%%rcx\n\t" #else "rep ; movsl\n\t"