提交 15bb4eac 编写于 作者: F Filip Navara 提交者: Aurelien Jarno

target-arm: fix TANDC and TORC instructions

Uninitialized register was used instead of proper TCG variable.
Signed-off-by: NFilip Navara <filip.navara@gmail.com>
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 19457615
......@@ -1898,6 +1898,7 @@ static int disas_iwmmxt_insn(CPUState *env, DisasContext *s, uint32_t insn)
if ((insn & 0x000ff00f) != 0x0003f000)
return 1;
gen_op_iwmmxt_movl_T1_wCx(ARM_IWMMXT_wCASF);
gen_op_movl_T0_T1();
switch ((insn >> 22) & 3) {
case 0:
for (i = 0; i < 7; i ++) {
......@@ -1944,6 +1945,7 @@ static int disas_iwmmxt_insn(CPUState *env, DisasContext *s, uint32_t insn)
if ((insn & 0x000ff00f) != 0x0003f000)
return 1;
gen_op_iwmmxt_movl_T1_wCx(ARM_IWMMXT_wCASF);
gen_op_movl_T0_T1();
switch ((insn >> 22) & 3) {
case 0:
for (i = 0; i < 7; i ++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册