diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-11-16 15:20:25 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-11-16 15:20:25 +0000 |
commit | 5d6a9065b82eb55556947f41ac6fb3892139de03 (patch) | |
tree | e95779a64e9eb7ef300a1fde299b8b2bfeb93fb2 /tools/tests/x86_emulator | |
parent | 5802821430521bc507915d01b72e36f947dbed2e (diff) | |
download | xen-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/x86_emulator')
-rw-r--r-- | tools/tests/x86_emulator/blowfish.c | 2 |
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" ); |