qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/3] arm: basic support for ARMv4/ARMv4T emulati


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 1/3] arm: basic support for ARMv4/ARMv4T emulation
Date: Wed, 30 Mar 2011 17:12:56 +0100

On 30 March 2011 12:41, Dmitry Eremin-Solenikov <address@hidden> wrote:
> @@ -7172,10 +7210,7 @@ static void disas_arm_insn(CPUState * env, 
> DisasContext *s)
>             }
>             if (insn & (1 << 20)) {
>                 /* Complete the load.  */
> -                if (rd == 15)
> -                    gen_bx(s, tmp);
> -                else
> -                    store_reg(s, rd, tmp);
> +                store_reg_from_load(env, s, rn, tmp);
>             }
>             break;
>         case 0x08:

Shouldn't the argument to store_reg_from_load() be 'rd', not 'rn'?

I'm otherwise happy with this patch. Thanks for doing all the changes.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]