diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-12 08:57:19 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-24 15:27:19 +0200 |
commit | 03514ac25c40ec3f2ffc493f1862ddd1353419f8 (patch) | |
tree | 42cf4224f362a86dffdbf6732e7e12b3e17acd4d /tests/tcg | |
parent | 977ec47de06bdcb24f01c93bc125b7c6c221a1c5 (diff) |
test-i386: fix bitrot for 64-bit
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/tcg')
-rw-r--r-- | tests/tcg/test-i386.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcg/test-i386.c b/tests/tcg/test-i386.c index b05572b734..0f7b943b0c 100644 --- 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)\ + : "=rm" (eflags)\ : "x" (a.dq), "x" (b.dq));\ printf("%-9s: a=%f b=%f cc=%04x\n",\ #op, a1, b1,\ |