summaryrefslogtreecommitdiff
path: root/src/cpu/qemu-x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/qemu-x86')
-rw-r--r--src/cpu/qemu-x86/cache_as_ram_bootblock.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/qemu-x86/cache_as_ram_bootblock.S b/src/cpu/qemu-x86/cache_as_ram_bootblock.S
index 30f9f9ceb2..415ed247df 100644
--- a/src/cpu/qemu-x86/cache_as_ram_bootblock.S
+++ b/src/cpu/qemu-x86/cache_as_ram_bootblock.S
@@ -29,11 +29,12 @@ cache_as_ram:
/* Restore the BIST result and timestamps. */
#if defined(__x86_64__)
- movd %mm1, %rdi
+ movd %mm2, %rdi
shld %rdi, 32
movd %mm1, %rsi
or %rsi, %rdi
- movd %mm2, %rsi
+
+ movd %mm0, %rsi
#else
sub $4, %esp