Re: [Qemu-devel] [PATCH 1/7] target/mips: Add MXU register support

2018-08-27 Thread Aleksandar Markovic
> From: Craig Janeczek > Sent: Friday, August 24, 2018 9:44 PM > > Subject: [PATCH 1/7] target/mips: Add MXU register support > >This commit makes the MXU registers and the helper functions for > reading/writing to them. This is required for full MXU instruction > support. > Signed-off-by: Craig

Re: [Qemu-devel] [PATCH 1/7] target/mips: Add MXU register support

2018-08-27 Thread Aleksandar Markovic
> From: Craig Janeczek > Sent: Friday, August 24, 2018 9:44 PM > > Subject: [PATCH 1/7] target/mips: Add MXU register support > > This commit makes the MXU registers and the helper functions for > reading/writing to them. This is required for full MXU instruction > support. Hi, Craig, The term

Re: [Qemu-devel] [PATCH 1/7] target/mips: Add MXU register support

2018-08-25 Thread Richard Henderson
On 08/24/2018 12:44 PM, Craig Janeczek via Qemu-devel wrote: > +/* MXU General purpose registers moves. */ > +static inline void gen_load_mxu_gpr (TCGv t, int reg) > +{ > +if (reg == 0) > +tcg_gen_movi_tl(t, 0); > +else > +tcg_gen_mov_tl(t, mxu_gpr[reg-1]); > +} > + > +stati

[Qemu-devel] [PATCH 1/7] target/mips: Add MXU register support

2018-08-24 Thread Craig Janeczek via Qemu-devel
This commit makes the MXU registers and the helper functions for reading/writing to them. This is required for full MXU instruction support. Signed-off-by: Craig Janeczek --- target/mips/cpu.h | 1 + target/mips/translate.c | 30 ++ 2 files changed, 31 insertio