Re: [Qemu-devel] [PATCH 2/7] target-mips: generate a reserved instruction exception on CPU without DSP

2012-11-20 Thread Johnson, Eric
[Qemu-devel] [PATCH 2/7] target-mips: generate a reserved > instruction exception on CPU without DSP > > On 11/16/2012 03:04 AM, Aurelien Jarno wrote: > > +static inline void check_dsp(CPUMIPSState *env, DisasContext *ctx) > > { > > if (unlikely(!(ctx->hflags &a

Re: [Qemu-devel] [PATCH 2/7] target-mips: generate a reserved instruction exception on CPU without DSP

2012-11-16 Thread Richard Henderson
On 11/16/2012 03:04 AM, Aurelien Jarno wrote: > +static inline void check_dsp(CPUMIPSState *env, DisasContext *ctx) > { > if (unlikely(!(ctx->hflags & MIPS_HFLAG_DSP))) { > -generate_exception(ctx, EXCP_DSPDIS); > +if (env->insn_flags & ASE_DSP) { > +generate_excep