Re: [Qemu-devel] [PATCH] sparc64: fix wrpstate and wrtl on delay slot

2011-05-01 Thread Blue Swirl
On Sat, Apr 30, 2011 at 10:32 PM, Igor Kovalenko wrote: > On Sat, Apr 30, 2011 at 7:42 PM, Blue Swirl wrote: >> Use TCG local to work around TCG register flush due to a branch. >> >> Thanks to Artyom Tarasenko, Igor Kovalenko and Aurelien Jarno. >> >> Signed-off-by: Blue Swirl >> --- >> I analyz

Re: [Qemu-devel] [PATCH] sparc64: fix wrpstate and wrtl on delay slot

2011-04-30 Thread Artyom Tarasenko
On Sat, Apr 30, 2011 at 9:48 PM, Super Bisquit wrote: > > Just curious, is this for host or guest? Guest (aka target) > On Sat, Apr 30, 2011 at 3:32 PM, Igor Kovalenko > wrote: >> >> On Sat, Apr 30, 2011 at 7:42 PM, Blue Swirl wrote: >> > Use TCG local to work around TCG register flush due to

Re: [Qemu-devel] [PATCH] sparc64: fix wrpstate and wrtl on delay slot

2011-04-30 Thread Super Bisquit
Just curious, is this for host or guest? On Sat, Apr 30, 2011 at 3:32 PM, Igor Kovalenko wrote: > On Sat, Apr 30, 2011 at 7:42 PM, Blue Swirl wrote: > > Use TCG local to work around TCG register flush due to a branch. > > > > Thanks to Artyom Tarasenko, Igor Kovalenko and Aurelien Jarno. > > > >

Re: [Qemu-devel] [PATCH] sparc64: fix wrpstate and wrtl on delay slot

2011-04-30 Thread Igor Kovalenko
On Sat, Apr 30, 2011 at 7:42 PM, Blue Swirl wrote: > Use TCG local to work around TCG register flush due to a branch. > > Thanks to Artyom Tarasenko, Igor Kovalenko and Aurelien Jarno. > > Signed-off-by: Blue Swirl > --- > I analyzed the call tree in target-sparc/translate.c for brcond* usage. >

[Qemu-devel] [PATCH] sparc64: fix wrpstate and wrtl on delay slot

2011-04-30 Thread Blue Swirl
Use TCG local to work around TCG register flush due to a branch. Thanks to Artyom Tarasenko, Igor Kovalenko and Aurelien Jarno. Signed-off-by: Blue Swirl --- I analyzed the call tree in target-sparc/translate.c for brcond* usage. In the following lines, first level function uses brcond* directly