Re: [Qemu-devel] [PATCH moxie 3/5] Moxie target code

2013-02-27 Thread Anthony Green
On Thu, Feb 14, 2013 at 6:19 PM, Richard Henderson wrote: > On 02/13/2013 02:26 PM, Anthony Green wrote: >> +case 0x03: /* jsra */ >> + { >> +/* Load the stack pointer into T0. */ >> +TCGv t1 = new_tmp(); >> +TCGv t2 = new_tmp(); >> + >> +

Re: [Qemu-devel] [PATCH moxie 3/5] moxie target code

2013-02-18 Thread Andreas Färber
Am 14.02.2013 12:23, schrieb Andreas Färber: > Please take a look at the patches queued on qom-cpu-next for the next > merge window: > https://github.com/afaerber/qemu-cpu/commits/qom-cpu-next > You should rebase on that (then using [PATCH qom-cpu-next n/m] or [PATCH > qom-cpu n/m]) and change cpu_

Re: [Qemu-devel] [PATCH moxie 3/5] Moxie target code

2013-02-14 Thread Richard Henderson
On 02/14/2013 03:19 PM, Richard Henderson wrote: >> > +tcg_gen_brcond_i32(TCG_COND_EQ, REG(a), REG(b), label_equal); >> > + >> > +#define CMPTEST(t,CODE) \ >> > +{ \ >> > +

Re: [Qemu-devel] [PATCH moxie 3/5] Moxie target code

2013-02-14 Thread Richard Henderson
On 02/13/2013 02:26 PM, Anthony Green wrote: > +typedef struct CPUMoxieState { > + > + > + uint32_t flags; /* general execution flags */ > + uint32_t gregs[16]; /* general registers */ > + uint32_t sregs[256]; /* special registers */ > + uint32_t pc; > + uint32

Re: [Qemu-devel] [PATCH moxie 3/5] moxie target code

2013-02-14 Thread Andreas Färber
Am 14.02.2013 02:23, schrieb Anthony Green: > This patch adds all of the target-moxie code to the new moxie port. > > > Signed-off-by: Anthony Green > --- > target-moxie/Makefile.objs |2 + > target-moxie/cpu-qom.h | 70 +++ > target-moxie/cpu.c | 84 +++ > target-moxie/cpu.