From 7058bfa63882e222a211e2b6084bfd5454e42b47 Mon Sep 17 00:00:00 2001 From: balrog Date: Sun, 21 Sep 2008 02:34:50 +0000 Subject: [PATCH] Fix TEST_BSX operands in test-i386.c (Zeev Tarantov). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5278 c046a42c-6fe2-441c-8c8c-71466251a162 --- tests/test-i386.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-i386.c b/tests/test-i386.c index 43b17285f9..838b69c909 100644 --- a/tests/test-i386.c +++ b/tests/test-i386.c @@ -718,8 +718,8 @@ void test_mul(void) asm("xor %1, %1\n"\ "mov $0x12345678, %0\n"\ #op " %" size "2, %" size "0 ; setz %b1" \ - : "=r" (res), "=q" (resz)\ - : "g" (val));\ + : "=&r" (res), "=&q" (resz)\ + : "r" (val));\ printf("%-10s A=" FMTLX " R=" FMTLX " %ld\n", #op, val, res, resz);\ }