test-i386: fix bitrot for 64-bit
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
977ec47de0
commit
03514ac25c
|
@ -2250,14 +2250,14 @@ SSE_OP(a ## sd);
|
||||||
|
|
||||||
#define SSE_COMI(op, field)\
|
#define SSE_COMI(op, field)\
|
||||||
{\
|
{\
|
||||||
unsigned int eflags;\
|
unsigned long eflags;\
|
||||||
XMMReg a, b;\
|
XMMReg a, b;\
|
||||||
a.field[0] = a1;\
|
a.field[0] = a1;\
|
||||||
b.field[0] = b1;\
|
b.field[0] = b1;\
|
||||||
asm volatile (#op " %2, %1\n"\
|
asm volatile (#op " %2, %1\n"\
|
||||||
"pushf\n"\
|
"pushf\n"\
|
||||||
"pop %0\n"\
|
"pop %0\n"\
|
||||||
: "=m" (eflags)\
|
: "=rm" (eflags)\
|
||||||
: "x" (a.dq), "x" (b.dq));\
|
: "x" (a.dq), "x" (b.dq));\
|
||||||
printf("%-9s: a=%f b=%f cc=%04x\n",\
|
printf("%-9s: a=%f b=%f cc=%04x\n",\
|
||||||
#op, a1, b1,\
|
#op, a1, b1,\
|
||||||
|
|
Loading…
Reference in New Issue