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 |
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
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:
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