[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.1-testing] x86-64/test_x86_emulate: fix blowfish test



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1321461542 0
# Node ID 51f58b21044755c50f9375068e37f93325bc861d
# Parent  efd132eee40c96a991bc8f354d39a186b6de3219
x86-64/test_x86_emulate: fix blowfish test

Incorrect register usage in the _start() wrapper caused the 64-bit
execution emulation to fail.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
xen-unstable changeset:   24149:753b21aa4087
xen-unstable date:        Wed Nov 16 15:20:25 2011 +0000
---


diff -r efd132eee40c -r 51f58b210447 tools/tests/x86_emulator/blowfish.c
--- a/tools/tests/x86_emulator/blowfish.c       Wed Nov 16 16:38:27 2011 +0000
+++ b/tools/tests/x86_emulator/blowfish.c       Wed Nov 16 16:39:02 2011 +0000
@@ -30,7 +30,7 @@
 #else
     "shlq $32,%rdx; movl %eax,%edi; orq %rdx,%rdi; "
     "call blowfish_test; "
-    "movq %rax,%rdi; movl %eax,%eax; shrq $32,%rdx; "
+    "movq %rax,%rdx; movl %eax,%eax; shrq $32,%rdx; "
 #endif
     "ret"
     );

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.