projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4047508
)
test-i386: make it compile with a recent gcc
author
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 12 Oct 2012 14:40:21 +0000
(16:40 +0200)
committer
Richard Henderson
<rth@twiddle.net>
Mon, 18 Feb 2013 23:03:55 +0000
(15:03 -0800)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tests/tcg/test-i386.c
patch
|
blob
|
history
diff --git
a/tests/tcg/test-i386.c
b/tests/tcg/test-i386.c
index b18fe20c768615f641a2056d0744322f241ec0d1..b05572b734220bbaf04db014e4c55937f80a962d 100644
(file)
--- a/
tests/tcg/test-i386.c
+++ b/
tests/tcg/test-i386.c
@@
-209,7
+209,7
@@
static inline long i2l(long v)
#define TEST_LEA16(STR)\
{\
asm(".code16 ; .byte 0x67 ; leal " STR ", %0 ; .code32"\
- : "=
wq
" (res)\
+ : "=
r
" (res)\
: "a" (eax), "b" (ebx), "c" (ecx), "d" (edx), "S" (esi), "D" (edi));\
printf("lea %s = %08lx\n", STR, res);\
}
@@
-1828,7
+1828,7
@@
void test_exceptions(void)
printf("lock nop exception:\n");
if (setjmp(jmp_env) == 0) {
/* now execute an invalid instruction */
- asm volatile(".byte 0xf0, 0x90");
/* lock nop */
+ asm volatile(".byte 0xf0, 0x90");
}
printf("INT exception:\n");