Fri Sep 20 15:36:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
[deliverable/binutils-gdb.git] / sim / d10v / ChangeLog
1 Fri Sep 20 15:36:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2
3 * interp.c (sim_create_inferior): Reinitialize State every time
4 sim_create_inferior() is called.
5
6 Thu Sep 19 21:38:20 1996 Michael Meissner <meissner@wogglebug.ziplink.net>
7
8 * simops.c (OP_{401,2000000,601,3000000,23000000}): Get sign right
9 on comparisons.
10 (OP_401): Fix tracing information.
11
12 Thu Sep 19 10:30:22 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13
14 * simops.c (SIZE_{PC,LINE_NUMBER}): New default sizes for output.
15 (trace_input_func): Use them.
16 (trace_input_func): Make sure there is a trailing space after the
17 instruction.
18 (OP_6200): Fix tracing info.
19
20 * Makefile.in (run): Add dependencies on libbfd.a and
21 libiberity.a.
22
23 Wed Sep 18 09:13:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
24
25 * d10v_sim.h (DEBUG_INSTRUCTION): New debug value to include line
26 numbers and function names in debug trace.
27 (DEBUG): If not defined, set to DEBUG_TRACE, DEBUG_VALUES, and
28 DEBUG_LINE_NUMBER.
29 (SIG_D10V_{STOP,EXIT}): Values to represent the stop instruction
30 and exit system call trap being executed.
31
32 * interp.c (sim_stop_reason): Set exit code correctly for stop
33 instruction and exit system call trap.
34
35 * configure.in (--enable-sim-cflags): Remove trace case.
36 (--enable-sim-debug): New switch to set the debug values.
37 * configure: Regenerate.
38
39 * simops.c (trace_{input,output}_func): Rename from
40 trace_{input,output}.
41 (trace_{input,output}): Call trace_{input,output}_func if
42 d10v_debug is non-zero.
43 (SIZE_INSTRUCTION): Cut down to 8.
44 (SIZE_OPERANDS): Cut down to 18.
45 (SIZE_LOCATION): New value for size of line number, function name
46 field.
47 (init_text_p,text{,_start,_end}): New static variables for
48 printing line number and function name.
49 (exec_bfd): New external that run.c sets.
50 (trace_input_func): Print line number and function name if
51 available and if desired.
52 (OP_4E09): Don't print out DBT message.
53 (OP_5FE0): Set exception field to SIG_D10V_STOP.
54 (OP_5F00): Set exception field to SIG_D10V_EXIT.
55
56 Sat Sep 14 22:18:43 1996 Michael Meissner <meissner@tiktok.cygnus.com>
57
58 * interp.c (do_2_short): If the instruction encodes jump->ins,
59 don't do the second instruction if the jump succeeds.
60
61 Fri Sep 13 22:35:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
62
63 * simops.c (OP_5F00): Use unknown traps to print all GPRs,
64 accumulators, PC, and F0/F1/C flags.
65
66 Thu Sep 12 12:50:11 1996 Mark Alexander <marka@cygnus.com>
67
68 * simops.c (OP_5F00): Fix problems with system calls.
69
70 Thu Sep 12 12:19:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
71
72 * simops.c (OP_5F00): Correct tracing information for trap.
73
74 Wed Sep 11 18:55:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
75
76 * Makefile.in (CSEARCH): Correctly find opcodes directory.
77
78 Mon Sep 9 13:27:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
79
80 * simops.c (trace_output): Properly align accumulator output.
81 (OP_3{0,2,4}00): Properly parenthesize test expression. Add error
82 if shift count is too high.
83 (OP_4E{00,02,04,20,22,40,42}): Make tests agree with book.
84 (OP_4E09): Make cpfg properly trace the input flags.
85 (op_types): Add OP_FLAG_OUTPUT.
86 (trace_{input,output}): Support OP_FLAG_OUTPUT.
87 (OP_31000000): This ld2w varient is a 16-bit memory reference, not
88 an 8-bit memory reference instruction for tracing purposes.
89 (OP_201): Addi needs to set the carry.
90
91 Fri Sep 6 17:56:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
92
93 * simops.c (OP_2600, OP_2601): Changed min and max comparisons
94 to use signed register values.
95
96 Wed Sep 4 11:35:17 1996 Michael Meissner <meissner@tiktok.cygnus.com>
97
98 * d10v_sim.h (DEBUG_*): Add bit flags for controlling debug
99 output.
100 (_ins_type): New enumeration to specify which container an
101 instruction is in, and whether it is part of a parallel operation.
102 (_state): Add ins_type field.
103 ({,u}int{8,16,32,64}): Use limits.h to size the appropriate types.
104 (ins_type_counters): Counters for the various instruction types.
105 ({left,right}_nops): Counters for the number of nops in each
106 container.
107 (d10v_debug): New variable to indicate whether debugging is turned
108 on.
109
110 * simops.c: (all functions): Change all #ifdef DEBUG code so that
111 the input and output values can be traced, along with the
112 instruction type. Make the -t option enable tracing.
113 (all functions): Change printf calls to use the printf_filtered
114 function in the callback table.
115
116 * interp.c (_leftright): New enumeration to say whether 2 short
117 instructions are done left first or right first.
118 (do_{long,2_short,parallel}): Indicate in the machine state which
119 type of instruction this is. Count each of the types of
120 instructions executed.
121 (sim_size): Only print the memory sizes if DEBUG_MEMSIZE debug
122 flag is set.
123 (sim_resume): Pass left/right indication to do_2_short.
124 (all functions): Change printf calls to use the printf_filtered
125 function in the callback table.
126 (sim_trace): Turn on debug flag if DEBUG was defined, and call
127 sim_resume.
128 (sim_info): Print out statistics on instructions.
129 (sim_{trace,create_inferior}): Eliminate extraneous output unless
130 debugging.
131 (sim_open): If args == -t and DEBUG was defined, set d10v_debug.
132 Only initialize the hash table the first time sim_open is called.
133
134 * Makefile.in: Make objects depend on d10v_sim.h.
135 ({,SIM_}CFLAGS): Include configure dependent switches. Setting
136 CFLAGS does not override host/target defines or SIM_CFLAGS.
137 (CC_FOR_BUILD,gencode): Use CC_FOR_BUILD to compile gencode.
138 (run): By default, the math library is not needed to be linked
139 in.
140 ({BFD,LIBIBERTY}_LIB): Define as variables so they can be
141 overridden.
142 (VPATH): Don't set to anything but @srcdir@ to work with non-GNU
143 makes.
144 ({run,callback}.o): Provide explicit paths to their appropriate
145 source directories.
146 (gencode{,.o},d10v-opc.o): Split compilation into creating object
147 and linking. Instead of linking in libopcodes.a, just compile
148 d10v-opc.o directly to handle canadian cross.
149 (CSEARCH): Add opcodes directory.
150
151 * configure.in (--enable-sim-cflags): New switch to allow user to
152 set the defaults.
153 (CC_FOR_BUILD): Deal with canadian crosses.
154 * configure: Regenerate.
155
156 Wed Sep 04 04:45:34 1996 Mark Alexander <marka@cygnus.com>
157
158 * simops.c: Include correct syscall.h for d10v, not host's.
159 Fix #ifdef SYS_stat.
160
161 Tue Sep 3 14:00:04 1996 Michael Meissner <meissner@tiktok.cygnus.com>
162
163 * simops.c (OP_5F00): Wrap all SYS_xxx traps with #ifdef.
164 Add trap 2 to be printf and trap 3 to be putchar.
165
166 Wed Aug 28 21:42:34 1996 Mark Alexander <marka@cygnus.com>
167
168 * Makefile.in, d10v_sim.h, interp.c, simops.c: Add support
169 for low-level system calls.
170
171 Wed Aug 28 17:33:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
172
173 * Makefile.in, d10v_sim.h, interp.c: Fix byte-order problems.
174
175 Mon Aug 26 18:30:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
176
177 * d10v_sim.h (SEXT32): Added.
178 * interp.c: Commented out printfs.
179 * simops.c: Fixed error in sb and st2w.
180
181 Thu Aug 15 13:30:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
182
183 * Makefile.in, d10v_sim.h, interp.c, simops.c: Added remaining
184 DSP instructions. Added modulo addressing.
185
186 Sun Aug 11 12:57:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
187
188 * Makefile.in, d10v_sim.h, interp.c, simops.c: Snapshot.
189
190 Fri Aug 2 17:44:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
191
192 * d10v_sim.h, simops.c: Snapshot.
193
194 Thu Aug 1 17:05:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
195
196 * ChangeLog, Makefile.in, configure, configure.in, d10v_sim.h,
197 gencode.c, interp.c, simops.c: Created.
198
This page took 0.080689 seconds and 5 git commands to generate.