Fix ldl/ldr implementation, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2832 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
642b043a9e
commit
5d46d55d4b
|
@ -761,6 +761,7 @@ static void gen_ldst (DisasContext *ctx, uint32_t opc, int rt,
|
||||||
opn = "scd";
|
opn = "scd";
|
||||||
break;
|
break;
|
||||||
case OPC_LDL:
|
case OPC_LDL:
|
||||||
|
GEN_LOAD_REG_TN(T1, rt);
|
||||||
op_ldst(ldl);
|
op_ldst(ldl);
|
||||||
GEN_STORE_TN_REG(rt, T0);
|
GEN_STORE_TN_REG(rt, T0);
|
||||||
opn = "ldl";
|
opn = "ldl";
|
||||||
|
@ -771,6 +772,7 @@ static void gen_ldst (DisasContext *ctx, uint32_t opc, int rt,
|
||||||
opn = "sdl";
|
opn = "sdl";
|
||||||
break;
|
break;
|
||||||
case OPC_LDR:
|
case OPC_LDR:
|
||||||
|
GEN_LOAD_REG_TN(T1, rt);
|
||||||
op_ldst(ldr);
|
op_ldst(ldr);
|
||||||
GEN_STORE_TN_REG(rt, T0);
|
GEN_STORE_TN_REG(rt, T0);
|
||||||
opn = "ldr";
|
opn = "ldr";
|
||||||
|
|
Loading…
Reference in a new issue