Re: [Qemu-devel] new MIPS instructions

2006-04-23 Thread Thiemo Seufer
Dirk Behme wrote: [snip] > Pro "additional parameter": FPU is a good example for this. > If the processor I want to emulate has no FPU I would assume > if my code uses (accidently?) FPU instructions I get > exception/error/warning from QEMU. It confused me that QEMU > (wrongly) executes my pro

Re: [Qemu-devel] new MIPS instructions

2006-04-23 Thread Paul Brook
On Sunday 23 April 2006 19:41, Dirk Behme wrote: > Thiemo Seufer wrote: > > Fabrice Bellard wrote: > >>I suggest adding a parameter to cpu_mips_init() telling the exact CPU > >>model which is emulated. Optionnal features (such as the FPU) could be > >>specified with an additionnal parameter. > > >

Re: [Qemu-devel] new MIPS instructions

2006-04-23 Thread Dirk Behme
Thiemo Seufer wrote: Fabrice Bellard wrote: I suggest adding a parameter to cpu_mips_init() telling the exact CPU model which is emulated. Optionnal features (such as the FPU) could be specified with an additionnal parameter. Probably with an additional switch "emulate everything we know abou

Re: [Qemu-devel] new MIPS instructions

2006-04-23 Thread Thiemo Seufer
Fabrice Bellard wrote: > Hi, > > Since many new MIPS instructions are added, I think it is very important > now to add a way to dynamically select the exact MIPS processor model > that is emulated in QEMU. FWIW, I added MIPS32R2 instructions to my local copy while keeping the CPU a MIPS32R1 4k

[Qemu-devel] new MIPS instructions

2006-04-23 Thread Fabrice Bellard
Hi, Since many new MIPS instructions are added, I think it is very important now to add a way to dynamically select the exact MIPS processor model that is emulated in QEMU. I suggest adding a parameter to cpu_mips_init() telling the exact CPU model which is emulated. Optionnal features (suc