Re: [Qemu-devel] [PATCH] SPARC: Fix LEON3 power down instruction

2013-11-26 Thread Peter Maydell
On 25 November 2013 14:22, Sebastian Huber wrote: > The env->pc is not necessarily up-to-date in the helper function. Use > the program counter of the disassembly context instead. > > Signed-off-by: Sebastian Huber > --- > target-sparc/helper.c|6 +++--- > target-sparc/helper.h|

Re: [Qemu-devel] [PATCH] SPARC: Fix LEON3 power down instruction

2013-11-26 Thread Fabien Chouteau
On 11/25/2013 03:22 PM, Sebastian Huber wrote: > The env->pc is not necessarily up-to-date in the helper function. Use > the program counter of the disassembly context instead. > Looks good. Thanks Sebastian. Reviewed-by: Fabien Chouteau > Signed-off-by: Sebastian Huber > --- > target-sparc

[Qemu-devel] [PATCH] SPARC: Fix LEON3 power down instruction

2013-11-25 Thread Sebastian Huber
The env->pc is not necessarily up-to-date in the helper function. Use the program counter of the disassembly context instead. Signed-off-by: Sebastian Huber --- target-sparc/helper.c|6 +++--- target-sparc/helper.h|2 +- target-sparc/translate.c |3 ++- 3 files changed, 6 in