Public bug reported:
Self-modifying code does not work properly in MIPS in uncached and
unmapped kseg1 memory region.
For example, when running this code I get unexpected behavior:
0: e310b 0x390
4: nop
...
380: 00701f40mfc0ra,c0
Public bug reported:
Function decode_opc() in translate.c calls function gen_bitops(), which
has such prototype:
/* special3 bitfield operations */
static void gen_bitops (DisasContext *ctx, uint32_t opc, int rt,
int rs, int lsb, int msb)
The code for DINSM instruction is