3 * simops.c (OP_2600, OP_2601): Changed min and max comparisons
4 to use signed register values.
8 * d10v_sim.h (DEBUG_*): Add bit flags for controlling debug
10 (_ins_type): New enumeration to specify which container an
11 instruction is in, and whether it is part of a parallel operation.
12 (_state): Add ins_type field.
13 ({,u}int{8,16,32,64}): Use limits.h to size the appropriate types.
14 (ins_type_counters): Counters for the various instruction types.
15 ({left,right}_nops): Counters for the number of nops in each
17 (d10v_debug): New variable to indicate whether debugging is turned
20 * simops.c: (all functions): Change all #ifdef DEBUG code so that
21 the input and output values can be traced, along with the
22 instruction type. Make the -t option enable tracing.
23 (all functions): Change printf calls to use the printf_filtered
24 function in the callback table.
26 * interp.c (_leftright): New enumeration to say whether 2 short
27 instructions are done left first or right first.
28 (do_{long,2_short,parallel}): Indicate in the machine state which
29 type of instruction this is. Count each of the types of
30 instructions executed.
31 (sim_size): Only print the memory sizes if DEBUG_MEMSIZE debug
33 (sim_resume): Pass left/right indication to do_2_short.
34 (all functions): Change printf calls to use the printf_filtered
35 function in the callback table.
36 (sim_trace): Turn on debug flag if DEBUG was defined, and call
38 (sim_info): Print out statistics on instructions.
39 (sim_{trace,create_inferior}): Eliminate extraneous output unless
41 (sim_open): If args == -t and DEBUG was defined, set d10v_debug.
42 Only initialize the hash table the first time sim_open is called.
44 * Makefile.in: Make objects depend on d10v_sim.h.
45 ({,SIM_}CFLAGS): Include configure dependent switches. Setting
46 CFLAGS does not override host/target defines or SIM_CFLAGS.
47 (CC_FOR_BUILD,gencode): Use CC_FOR_BUILD to compile gencode.
48 (run): By default, the math library is not needed to be linked
50 ({BFD,LIBIBERTY}_LIB): Define as variables so they can be
52 (VPATH): Don't set to anything but @srcdir@ to work with non-GNU
54 ({run,callback}.o): Provide explicit paths to their appropriate
56 (gencode{,.o},d10v-opc.o): Split compilation into creating object
57 and linking. Instead of linking in libopcodes.a, just compile
58 d10v-opc.o directly to handle canadian cross.
59 (CSEARCH): Add opcodes directory.
61 * configure.in (--enable-sim-cflags): New switch to allow user to
63 (CC_FOR_BUILD): Deal with canadian crosses.
64 * configure: Regenerate.
68 * simops.c: Include correct syscall.h for d10v, not host's.
73 * simops.c (OP_5F00): Wrap all SYS_xxx traps with #ifdef.
74 Add trap 2 to be printf and trap 3 to be putchar.
78 * Makefile.in, d10v_sim.h, interp.c, simops.c: Add support
79 for low-level system calls.
83 * Makefile.in, d10v_sim.h, interp.c: Fix byte-order problems.
87 * d10v_sim.h (SEXT32): Added.
88 * interp.c: Commented out printfs.
89 * simops.c: Fixed error in sb and st2w.
93 * Makefile.in, d10v_sim.h, interp.c, simops.c: Added remaining
94 DSP instructions. Added modulo addressing.
98 * Makefile.in, d10v_sim.h, interp.c, simops.c: Snapshot.
102 * d10v_sim.h, simops.c: Snapshot.
106 * ChangeLog, Makefile.in, configure, configure.in, d10v_sim.h,
107 gencode.c, interp.c, simops.c: Created.