OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ee60ad
)
tcg-sparc: Fix ADDX opcode.
author
Richard Henderson
<rth@twiddle.net>
Fri, 23 Mar 2012 22:57:12 +0000
(23:57 +0100)
committer
Richard Henderson
<rth@twiddle.net>
Fri, 21 Sep 2012 20:02:15 +0000
(22:02 +0200)
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/sparc/tcg-target.c
patch
|
blob
|
history
diff --git
a/tcg/sparc/tcg-target.c
b/tcg/sparc/tcg-target.c
index
608fc46
..
0a19313
100644
(file)
--- a/
tcg/sparc/tcg-target.c
+++ b/
tcg/sparc/tcg-target.c
@@
-236,7
+236,7
@@
static inline int tcg_target_const_match(tcg_target_long val,
#define ARITH_XOR (INSN_OP(2) | INSN_OP3(0x03))
#define ARITH_SUB (INSN_OP(2) | INSN_OP3(0x04))
#define ARITH_SUBCC (INSN_OP(2) | INSN_OP3(0x14))
-#define ARITH_ADDX (INSN_OP(2) | INSN_OP3(0x
10
))
+#define ARITH_ADDX (INSN_OP(2) | INSN_OP3(0x
08
))
#define ARITH_SUBX (INSN_OP(2) | INSN_OP3(0x0c))
#define ARITH_UMUL (INSN_OP(2) | INSN_OP3(0x0a))
#define ARITH_UDIV (INSN_OP(2) | INSN_OP3(0x0e))