aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tests
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-11-16 15:20:25 +0000
committerJan Beulich <jbeulich@suse.com>2011-11-16 15:20:25 +0000
commit5d6a9065b82eb55556947f41ac6fb3892139de03 (patch)
treee95779a64e9eb7ef300a1fde299b8b2bfeb93fb2 /tools/tests
parent5802821430521bc507915d01b72e36f947dbed2e (diff)
downloadxen-5d6a9065b82eb55556947f41ac6fb3892139de03.tar.gz
xen-5d6a9065b82eb55556947f41ac6fb3892139de03.tar.bz2
xen-5d6a9065b82eb55556947f41ac6fb3892139de03.zip
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@suse.com> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/tests')
-rw-r--r--tools/tests/x86_emulator/blowfish.c2
1 files changed, 1 insertions, 1 deletions
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"
);