projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
977ec47
)
test-i386: fix bitrot for 64-bit
author
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 12 Oct 2016 06:57:19 +0000
(08:57 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 24 Oct 2016 13:27:19 +0000
(15:27 +0200)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/tcg/test-i386.c
patch
|
blob
|
history
diff --git
a/tests/tcg/test-i386.c
b/tests/tcg/test-i386.c
index b05572b734220bbaf04db014e4c55937f80a962d..0f7b943b0c39093f8de674cfe8120c6c707d1b68 100644
(file)
--- a/
tests/tcg/test-i386.c
+++ b/
tests/tcg/test-i386.c
@@
-2250,14
+2250,14
@@
SSE_OP(a ## sd);
#define SSE_COMI(op, field)\
{\
- unsigned
int
eflags;\
+ unsigned
long
eflags;\
XMMReg a, b;\
a.field[0] = a1;\
b.field[0] = b1;\
asm volatile (#op " %2, %1\n"\
"pushf\n"\
"pop %0\n"\
- : "=m" (eflags)\
+ : "=
r
m" (eflags)\
: "x" (a.dq), "x" (b.dq));\
printf("%-9s: a=%f b=%f cc=%04x\n",\
#op, a1, b1,\