binutils-gdb/sim
Ian Lance Taylor 831f59a218 Add support for mips16 (16 bit MIPS implementation):
* gencode.c (inst_type): Add mips16 instruction encoding types.
	(GETDATASIZEINSN): Define.
	(MIPS_DECODE): Add REG flag to dsllv, dsrav, and dsrlv.  Add
	jalx.  Add LEFT flag to mfhi and mflo.  Add RIGHT flag to mthi and
	mtlo.
	(MIPS16_DECODE): New table, for mips16 instructions.
	(bitmap_val): New static function.
	(struct mips16_op): Define.
	(mips16_op_table): New table, for mips16 operands.
	(build_mips16_operands): New static function.
	(process_instructions): If PC is odd, decode a mips16
	instruction.  Break out instruction handling into new
	build_instruction function.
	(build_instruction): New static function, broken out of
	process_instructions.  Check modifiers rather than flags for SHIFT
	bit count and m[ft]{hi,lo} direction.
	(usage): Pass program name to fprintf.
	(main): Remove unused variable this_option_optind.  Change
	``*loptarg++'' to ``loptarg++''.
	(my_strtoul): Parenthesize && within ||.
	* interp.c (sim_trace): If tracefh is NULL, set it to stderr.
	(LoadMemory): Accept a halfword pAddr if vAddr is odd.
	(simulate): If PC is odd, fetch a 16 bit instruction, and
	increment PC by 2 rather than 4.
	* configure.in: Add case for mips16*-*-*.
	* configure: Rebuild.
1996-11-26 18:12:44 +00:00
..
arm * run.c: Deleted, use one in ../common now. 1996-11-20 09:10:22 +00:00
common Add new files. 1996-11-20 09:22:01 +00:00
d10v * config.in (WORDS_BIGENDIAN): Add. 1996-11-26 03:53:40 +00:00
erc32 * run.c: Deleted, using one in ../common now. 1996-11-20 21:06:21 +00:00
h8300 * Makefile.in: Delete stuff moved to ../common/Make-common.in. 1996-11-20 09:47:57 +00:00
mips Add support for mips16 (16 bit MIPS implementation): 1996-11-26 18:12:44 +00:00
mn10300 * Makefile.in, config.in, configure, configure.in: New files. 1996-11-25 19:52:08 +00:00
ppc * Makefile.in (LIBCOMMON): Define. 1996-11-20 10:02:44 +00:00
sh * Makefile.in: Delete stuff moved to ../common/Make-common.in. 1996-11-20 10:18:18 +00:00
v850 * Makefile.in: Delete stuff moved to ../common/Make-common.in. 1996-11-20 10:27:55 +00:00
w65 * Makefile.in (mostlyclean): Move config.log to distclean. 1996-10-03 07:16:56 +00:00
.Sanitize * Makefile.in, config.in, configure, configure.in: New files. 1996-11-25 19:52:08 +00:00
ChangeLog Powerpc-linux now builds the simulator 1996-11-01 13:08:43 +00:00
configure * configure.in (configdirs): Add common. 1996-11-20 09:02:28 +00:00
configure.in * Makefile.in, config.in, configure, configure.in: New files. 1996-11-25 19:52:08 +00:00
Makefile.in * Makefile.in (all): Simplify. 1996-02-21 17:02:23 +00:00