projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5802821
)
x86-64/test_x86_emulate: fix blowfish test
author
Jan Beulich
<jbeulich@suse.com>
Wed, 16 Nov 2011 15:20:25 +0000
(15:20 +0000)
committer
Jan Beulich
<jbeulich@suse.com>
Wed, 16 Nov 2011 15:20:25 +0000
(15:20 +0000)
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>
tools/tests/x86_emulator/blowfish.c
patch
|
blob
|
history
diff --git
a/tools/tests/x86_emulator/blowfish.c
b/tools/tests/x86_emulator/blowfish.c
index 211831d4d27050a1e89ecb30d871d7be958e8adb..8b9280c063c2f30f6b9be9cf2e757282f442cbdc 100644
(file)
--- 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,%rd
i
; movl %eax,%eax; shrq $32,%rdx; "
+ "movq %rax,%rd
x
; movl %eax,%eax; shrq $32,%rdx; "
#endif
"ret"
);