[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86-64/test_x86_emulate: fix blowfish test
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxx # Date 1321456825 0 # Node ID 753b21aa4087c207286f49e1dba0a74c48b5477b # Parent 3ecc8fef428138e4304ef11b47498981e63626b3 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> --- diff -r 3ecc8fef4281 -r 753b21aa4087 tools/tests/x86_emulator/blowfish.c --- a/tools/tests/x86_emulator/blowfish.c Wed Nov 16 15:19:33 2011 +0000 +++ b/tools/tests/x86_emulator/blowfish.c Wed Nov 16 15:20:25 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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |