提交 e571ba67 编写于 作者: A Alex Bennée

tests/tcg/i386/test-i386: fix printf format

Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
上级 9b8381d1
...@@ -2258,7 +2258,7 @@ SSE_OP(a ## sd); ...@@ -2258,7 +2258,7 @@ SSE_OP(a ## sd);
"pop %0\n"\ "pop %0\n"\
: "=rm" (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=%04lx\n",\
#op, a1, b1,\ #op, a1, b1,\
eflags & (CC_C | CC_P | CC_Z | CC_S | CC_O | CC_A));\ eflags & (CC_C | CC_P | CC_Z | CC_S | CC_O | CC_A));\
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册