summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-21 02:34:50 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-21 02:34:50 +0000
commit7058bfa63882e222a211e2b6084bfd5454e42b47 (patch)
tree3d95060987b3b38aa972b84af3926419bcbeed6c /tests
parent872ea0c098f63a36de8c49eb2cf348cd111292b9 (diff)
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
Diffstat (limited to 'tests')
-rw-r--r--tests/test-i386.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-i386.c b/tests/test-i386.c
index 43b17285f..838b69c90 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);\
}