projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a80a6b6
)
tcg/i386: fix build with -march < i686
author
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 25 Sep 2012 22:30:12 +0000
(
00:30
+0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 25 Sep 2012 22:31:50 +0000
(
00:31
+0200)
The movcond_i32 op has to be protected with TCG_TARGET_HAS_movcond_i32
to fix the build with -march < i686.
Thanks to Richard Henderson for the hint.
Reported-by: Alex Barcelo <abarcelo@ac.upc.edu>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/i386/tcg-target.c
patch
|
blob
|
history
diff --git
a/tcg/i386/tcg-target.c
b/tcg/i386/tcg-target.c
index 122d63630cf528a0b700f11c3b7f09fb5215af18..0e218c86142d8812e465c76821229a113b9e16f5 100644
(file)
--- a/
tcg/i386/tcg-target.c
+++ b/
tcg/i386/tcg-target.c
@@
-1893,7
+1893,9
@@
static const TCGTargetOpDef x86_op_defs[] = {
{ INDEX_op_setcond_i32, { "q", "r", "ri" } },
{ INDEX_op_deposit_i32, { "Q", "0", "Q" } },
+#if TCG_TARGET_HAS_movcond_i32
{ INDEX_op_movcond_i32, { "r", "r", "ri", "r", "0" } },
+#endif
#if TCG_TARGET_REG_BITS == 32
{ INDEX_op_mulu2_i32, { "a", "d", "a", "r" } },