On 3/17/21 12:20 PM, prashant chaturvedi wrote: > Hello all, > I'm trying execute a mips32r2 , little endian binary on qemu and the > instructions like enable interrupt(EI) and Pair upper Lower(PUL.PS > <http://PUL.PS>) are not supported by qemu as it gives "Illegal > Instruction" error.
PUL.PS is microMIPS32, not MIPS32r2. QEMU emulates microMIPS32 with the M14K/M14Kc CPUs. This instruction is available since 2010: commit 3c824109da076d2a1df4b798f9df81b385131f92 Author: Nathan Froyd <froy...@codesourcery.com> Date: Tue Jun 8 13:29:59 2010 -0700 target-mips: microMIPS ASE support > I'm really confused with this, Those instructions are part of the ISA, > then why am I getting this error? Is there something that I'm missing? > someway that i can enable execution of those instructions? Any help > would be appreciated. > > Thank you all in advance!