From 5d6a9065b82eb55556947f41ac6fb3892139de03 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 16 Nov 2011 15:20:25 +0000 Subject: 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 Committed-by: Keir Fraser --- tools/tests/x86_emulator/blowfish.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/tests') diff --git a/tools/tests/x86_emulator/blowfish.c b/tools/tests/x86_emulator/blowfish.c index 211831d4d2..8b9280c063 100644 --- a/tools/tests/x86_emulator/blowfish.c +++ b/tools/tests/x86_emulator/blowfish.c @@ -30,7 +30,7 @@ asm ( #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" ); -- cgit v1.2.3