Re: [Qemu-devel] [SPARC][PATCH] Generate cp_disabled trap for Cpop instructions

2007-03-31 Thread Aurelien Jarno
On Fri, Mar 30, 2007 at 07:18:28PM +0200, Aurelien Jarno wrote: Hi all, Both of the SPARC CPU currently emulated in QEMU do not have a coprocessor. In such case executing a Cpop1 or a Cpop2 instruction should generate a cp_disabled trap, but the current implementation generates a

[Qemu-devel] [SPARC][PATCH] Generate cp_disabled trap for Cpop instructions

2007-03-30 Thread Aurelien Jarno
Hi all, Both of the SPARC CPU currently emulated in QEMU do not have a coprocessor. In such case executing a Cpop1 or a Cpop2 instruction should generate a cp_disabled trap, but the current implementation generates a illegal_instruction instead. The patch below fixes that. Bye, Aurelien