Re: [Qemu-devel] [PATCH v2 13/22] target-mips: add Compact Branches

2014-06-24 Thread Leon Alrae
On 11/06/2014 17:52, Richard Henderson wrote: > On 06/11/2014 08:19 AM, Leon Alrae wrote: >> +case OPC_BEQZC: >> +tcg_gen_setcondi_tl(TCG_COND_EQ, bcond, t0, 0); >> +break; > ... >> +/* Compact branches don't have delay slot, thus generating branch here >> */ >>

Re: [Qemu-devel] [PATCH v2 13/22] target-mips: add Compact Branches

2014-06-19 Thread Aurelien Jarno
On Wed, Jun 11, 2014 at 04:19:43PM +0100, Leon Alrae wrote: > From: Yongbok Kim > > Introduce MIPS32R6 Compact Branch instructions which do not have delay slot - > they have forbidden slot instead. However, current implementation does not > support forbidden slot yet. > > Signed-off-by: Yongbok

Re: [Qemu-devel] [PATCH v2 13/22] target-mips: add Compact Branches

2014-06-11 Thread Richard Henderson
On 06/11/2014 08:19 AM, Leon Alrae wrote: > +case OPC_BEQZC: > +tcg_gen_setcondi_tl(TCG_COND_EQ, bcond, t0, 0); > +break; ... > +/* Compact branches don't have delay slot, thus generating branch here */ > +/* TODO: implement forbidden slot */ > +gen_branc

[Qemu-devel] [PATCH v2 13/22] target-mips: add Compact Branches

2014-06-11 Thread Leon Alrae
From: Yongbok Kim Introduce MIPS32R6 Compact Branch instructions which do not have delay slot - they have forbidden slot instead. However, current implementation does not support forbidden slot yet. Signed-off-by: Yongbok Kim Signed-off-by: Leon Alrae --- v2: * rename "handle_delay_slot" to "g