old-cross-binutils/sim/d10v
Martin Hunt 849c575f97 Fri Nov 8 16:19:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v-sim.h (simops): Add flag is_long.
	(State): Add pc_changed.  Instructions which update the PC should
	use the JMP macro which sets this.
	(JMP): New macro.  Sets the PC and the pc_changed flag.

	* gencode.c (write_opcodes): Add is_long field.

	* interp.c (lookup_hash): If we blindly apply a short opcode's mask
	to a long opcode we could get a false match.  Check the opcode size.
	(hash): Add a size field to the hash table.
	(sim_open): Initialize size field in hash table.
	(sim_resume): Change to logic for setting the PC.  Used to increment the
	PC if it had not been changed.  This didn't allow single-instruction loops.
	Now checks the flag State.pc_changed.  Also now stops when ^C is received.
	(dmem_addr): Fix translation of data segments to unified memory.
	(sim_ctrl_c): New function.  When ^C is received, set stop_simulator flag.

	* simops.c: Changed all branch and jump instructions to use new JMP macro.
	(OP_20000000): Corrected trace information to show this is a ldi.l, not
	a ldi.s instruction.
1996-11-09 00:38:07 +00:00
..
.Sanitize Make read/write memory functions inlined 1996-10-16 22:14:23 +00:00
ChangeLog Thu Oct 31 19:13:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 1996-11-01 03:15:44 +00:00
configure First cut at dealing with canadian crosses; make -t in debugger set d10v_debug if DEBUG 1996-09-04 18:50:13 +00:00
configure.in Make simulated loads/stores faster on x86, AIX, and big endian hosts 1996-10-17 16:47:51 +00:00
d10v_sim.h Fix -t option to work with memory mapping; Print PC in some error messages 1996-10-30 22:43:02 +00:00
endian.c Make read/write memory functions inlined 1996-10-16 22:16:21 +00:00
gencode.c Fri Nov 8 16:19:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 1996-11-09 00:38:07 +00:00
interp.c Thu Oct 31 19:13:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com> 1996-11-01 03:15:44 +00:00
Makefile.in Make read/write memory functions inlined 1996-10-16 22:14:23 +00:00
simops.c Fix -t option to work with memory mapping; Print PC in some error messages 1996-10-30 22:43:02 +00:00