[Qemu-devel] [PATCH][SPARC] Fix handling of conditional branches in delay slot of a conditional branch

2011-08-06 Thread Artyom Tarasenko
Check whether dc->npc is dynamic before using its value for branch. Signed-off-by: Artyom Tarasenko --- Particaluary the patch fixes handling of the constructions like 0x13e26c0: brz,pn %o0, 0x13e26e4 0x13e26c4: brlez,pn %o1, 0x13e26e4 present in NetBSD-5.1 target-sparc/translate.c |

Re: [Qemu-devel] [PATCH][SPARC] Fix handling of conditional branches in delay slot of a conditional branch

2011-08-06 Thread Blue Swirl
Thanks, applied. On Sat, Aug 6, 2011 at 3:01 PM, Artyom Tarasenko wrote: > Check whether dc->npc is dynamic before using its value for branch. > > Signed-off-by: Artyom Tarasenko > --- > Particaluary the patch fixes handling of the constructions like > > 0x13e26c0:  brz,pn   %o0, 0x13e26e4 > 0x1

Re: [Qemu-devel] [PATCH][SPARC] Fix handling of conditional branches in delay slot of a conditional branch

2011-08-06 Thread Artyom Tarasenko
Since it's a pure bug fix, do you think can it be applied to 0.15 as well? On Sat, Aug 6, 2011 at 10:14 PM, Blue Swirl wrote: > Thanks, applied. > > On Sat, Aug 6, 2011 at 3:01 PM, Artyom Tarasenko wrote: >> Check whether dc->npc is dynamic before using its value for branch. >> >> Signed-off-by:

Re: [Qemu-devel] [PATCH][SPARC] Fix handling of conditional branches in delay slot of a conditional branch

2011-08-07 Thread Blue Swirl
On Sat, Aug 6, 2011 at 9:33 PM, Artyom Tarasenko wrote: > Since it's a pure bug fix, do you think can it be applied to 0.15 as well? Maybe. Anthony/Jordan, please consider applying these to stable: 548f66d Fix handling of conditional branches in delay slot of a conditional branch 6749432 Sparc: f