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:
00227fe
)
target-m68k: fix EXG instruction
author
Laurent Vivier
<laurent@vivier.eu>
Wed, 23 Nov 2016 12:57:56 +0000
(13:57 +0100)
committer
Laurent Vivier
<laurent@vivier.eu>
Thu, 24 Nov 2016 08:38:44 +0000
(09:38 +0100)
opcodes of "EXG Ax,Ay" and "EXG Dx,Dy" have been swapped
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target-m68k/translate.c
patch
|
blob
|
history
diff --git
a/target-m68k/translate.c
b/target-m68k/translate.c
index
9ad974f
..
8e522db
100644
(file)
--- a/
target-m68k/translate.c
+++ b/
target-m68k/translate.c
@@
-2198,13
+2198,13
@@
static void do_exg(TCGv reg1, TCGv reg2)
tcg_temp_free(temp);
}
-DISAS_INSN(exg_
aa
)
+DISAS_INSN(exg_
dd
)
{
/* exchange Dx and Dy */
do_exg(DREG(insn, 9), DREG(insn, 0));
}
-DISAS_INSN(exg_
dd
)
+DISAS_INSN(exg_
aa
)
{
/* exchange Ax and Ay */
do_exg(AREG(insn, 9), AREG(insn, 0));