Re: [Qemu-devel] [PATCH 07/35] target/mips: Add nanoMIPS save and restore

2018-06-21 Thread Richard Henderson
On 06/20/2018 05:05 AM, Yongbok Kim wrote: > +static void gen_restore(DisasContext *ctx, uint8_t rt, uint8_t count, > +uint8_t gp, uint16_t u) > +{ > +int counter = 0; > +TCGv va = tcg_temp_new(); > +TCGv t0 = tcg_temp_new(); > + > +while (counter != count) {

[Qemu-devel] [PATCH 07/35] target/mips: Add nanoMIPS save and restore

2018-06-20 Thread Yongbok Kim
From: Matthew Fortune Add nanoMIPS save and restore instructions Signed-off-by: Yongbok Kim --- target/mips/translate.c | 74 + 1 file changed, 74 insertions(+) diff --git a/target/mips/translate.c b/target/mips/translate.c index c1a98da..4ce80b