qemu/target-mips
Nathan Froyd 9ed5726c04 target-mips: fix translation of MT instructions
The translation of dmt/emt/dvpe/evpe was doing the moral equivalent of:

  int x;
  ...		/* no initialization of x */
  x = f (x);

which confused later bits of TCG rather badly, leading to crashes.

Fix the helpers to only return results (those instructions have no
inputs), and fix the translation code accordingly.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2010-12-22 11:14:10 +01:00
..
cpu.h target-xxx: Use fprintf_function (format checking) 2010-10-30 08:01:59 +00:00
exec.h move cpu_pc_from_tb to target-*/exec.h 2010-07-03 09:48:12 +03:00
helper.c mips: Add support for VInt and VEIC irq modes 2010-08-06 12:21:16 +02:00
helper.h target-mips: fix translation of MT instructions 2010-12-22 11:14:10 +01:00
machine.c target-mips: rename CP0_LLAddr into lladdr 2009-11-22 14:12:13 +01:00
mips-defs.h MIPS: Initial support of fulong mini pc (CPU definition) 2010-06-29 23:07:52 +02:00
op_helper.c target-mips: fix translation of MT instructions 2010-12-22 11:14:10 +01:00
TODO target-mips: add copyright notice for mips16 work 2009-12-13 20:20:20 +01:00
translate_init.c target-xxx: Use fprintf_function (format checking) 2010-10-30 08:01:59 +00:00
translate.c target-mips: fix translation of MT instructions 2010-12-22 11:14:10 +01:00