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
This commit is contained in:
balrog 2008-09-21 02:34:50 +00:00
parent 872ea0c098
commit 7058bfa638

View File

@ -718,8 +718,8 @@ void test_mul(void)
asm("xor %1, %1\n"\ asm("xor %1, %1\n"\
"mov $0x12345678, %0\n"\ "mov $0x12345678, %0\n"\
#op " %" size "2, %" size "0 ; setz %b1" \ #op " %" size "2, %" size "0 ; setz %b1" \
: "=r" (res), "=q" (resz)\ : "=&r" (res), "=&q" (resz)\
: "g" (val));\ : "r" (val));\
printf("%-10s A=" FMTLX " R=" FMTLX " %ld\n", #op, val, res, resz);\ printf("%-10s A=" FMTLX " R=" FMTLX " %ld\n", #op, val, res, resz);\
} }