Re: [Qemu-devel] MIPS exception number limits?

2012-11-27 Thread Richard Henderson
On 11/26/2012 09:25 PM, Johnson, Eric wrote: So basically the SC and SCD instructions for user-mode QEMU are implemented with a dummy exception. Since it is not a real exception, it is not reported in the QEMU log file as an exception. I'm not certain that's a helpful distinction to make

Re: [Qemu-devel] MIPS exception number limits?

2012-11-27 Thread Peter Maydell
On 27 November 2012 21:18, Richard Henderson r...@twiddle.net wrote: On 11/26/2012 09:25 PM, Johnson, Eric wrote: So basically the SC and SCD instructions for user-mode QEMU are implemented with a dummy exception. Since it is not a real exception, it is not reported in the QEMU log file as

Re: [Qemu-devel] MIPS exception number limits?

2012-11-27 Thread Johnson, Eric
-Original Message- From: Richard Henderson [mailto:rth7...@gmail.com] On Behalf Of Richard Henderson Sent: Tuesday, November 27, 2012 1:19 PM To: Johnson, Eric Cc: 陳韋任 (Wei-Ren Chen); qemu-devel@nongnu.org Subject: Re: [Qemu-devel] MIPS exception number limits? On 11/26/2012 09

Re: [Qemu-devel] MIPS exception number limits?

2012-11-26 Thread Johnson, Eric
-Original Message- From: qemu-devel-bounces+ericj=mips@nongnu.org [mailto:qemu-devel- bounces+ericj=mips@nongnu.org] On Behalf Of ??? (Wei-Ren Chen) Sent: Thursday, November 22, 2012 11:34 AM To: qemu-devel@nongnu.org Subject: [Qemu-devel] MIPS exception number limits? Hi

[Qemu-devel] MIPS exception number limits?

2012-11-22 Thread Wei-Ren Chen
Hi all, Wondering why MIPS limits exception number less then 0x100, you can see such example in function do_raise_exception_err (target-mips/op_helper.c). See below, static inline void QEMU_NORETURN do_raise_exception_err(CPUMIPSState *env,