9f1b4ac281c6cb7eabe6c95de0a10b4338493b31
[deliverable/binutils-gdb.git] / sim / d10v / ChangeLog
1 Mon Oct 21 16:16:26 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2
3 * interp.c (sim_resume): Change the way single-stepping and exceptions
4 are handled so single-stepping works again.
5
6 Thu Oct 17 12:24:16 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7
8 * endian.c: Optimize simulated loads/stores on x86, AIX, and big
9 endian hosts.
10
11 * configure.in (--enable-sim-bswap): New switch to enable using
12 the BSWAP instruction on x86's.
13 * configure: Regenerate.
14
15 * Makefile.in ({SWAP,CONFIG}_CFLAGS): Add --enable-sim-bswap
16 support.
17
18 Wed Oct 16 13:50:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
19
20 * endian.c: New file. Move endian functions here from interp.c.
21 Optimize code, and make it work as either inline functions or as a
22 separate file.
23
24 * interp.c: Move endian functions from here to endian.c.
25
26 * Makefile.in (INCLUDE): Add endian.c.
27 (run,libsim.a): Add dependency on endian.o.
28 (endian.o): Add dependency.
29
30 * d10v_sim.h (read/write support): Always go through the machine
31 independent endian functions. If compiling with GCC and
32 optimizing, include endian.c so the endian functions are inlined.
33
34 * simops.c (OP_5F00): Correct tracing of accumulators.
35
36 Tue Oct 15 10:57:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
37
38 * simops.c (OP_5F00): Add support for getpid, kill system calls.
39
40 * interp.c (do_{2_short,parallel}): If an exception is raised,
41 don't execute the second instruction.
42
43 Sat Oct 12 22:17:43 1996 Michael Meissner <meissner@tiktok.cygnus.com>
44
45 * simops.c (OP_{31000000,6601,6201,6200}): Store address in a
46 temporary in case the register is overriden when loading.
47 (OP_6200): Output type is OP_DREG for tracing.
48
49 Fri Oct 4 23:46:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
50
51 * d10v_sim.h (struct _state): Add mem_{min,max} fields.
52
53 * interp.c (sim_size): Initialize mem_{min,max} fields.
54 (sim_write): Update mem_{min,max} fields.
55 (sim_resume): If PC is not in the minimum/maximum memory range,
56 abort.
57 (sim_create_inferior): Preserve mem_{min,max} fields.
58
59 Fri Sep 27 13:11:58 1996 Mark Alexander <marka@cygnus.com>
60
61 * simops.c (OP_5F00): Add support for time() system call.
62
63 Wed Sep 25 16:31:41 1996 Michael Meissner <meissner@tiktok.cygnus.com>
64
65 * simops.c (OP_{6E01,6A01,6E1F,6A00}): Print both words being
66 stored if tracing.
67 (OP_5F00,trace_{in,out}put_func): Add finer grain tracing for
68 system calls.
69
70 Mon Sep 23 17:55:30 1996 Michael Meissner <meissner@tiktok.cygnus.com>
71
72 * simops.c (op_types): Add OP_{CONSTANT8,R2,R3}.
73 (trace_input_func): Add support for OP_{CONSTANT8,R2,R3}.
74 (OP_{4900,24800000,4800,4A00,4B00,4D00,4C00}): Add OP_R2 and OP_R3
75 to call/subroutine returns to trace the first two arguments and
76 the return value. For small jumps, use CONSTANT8, not CONSTANT16.
77
78 Fri Sep 20 15:36:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
79
80 * interp.c (sim_create_inferior): Reinitialize State every time
81 sim_create_inferior() is called.
82
83 Thu Sep 19 21:38:20 1996 Michael Meissner <meissner@wogglebug.ziplink.net>
84
85 * simops.c (OP_{401,2000000,601,3000000,23000000}): Get sign right
86 on comparisons.
87 (OP_401): Fix tracing information.
88
89 Thu Sep 19 10:30:22 1996 Michael Meissner <meissner@tiktok.cygnus.com>
90
91 * simops.c (SIZE_{PC,LINE_NUMBER}): New default sizes for output.
92 (trace_input_func): Use them.
93 (trace_input_func): Make sure there is a trailing space after the
94 instruction.
95 (OP_6200): Fix tracing info.
96
97 * Makefile.in (run): Add dependencies on libbfd.a and
98 libiberity.a.
99
100 Wed Sep 18 09:13:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
101
102 * d10v_sim.h (DEBUG_INSTRUCTION): New debug value to include line
103 numbers and function names in debug trace.
104 (DEBUG): If not defined, set to DEBUG_TRACE, DEBUG_VALUES, and
105 DEBUG_LINE_NUMBER.
106 (SIG_D10V_{STOP,EXIT}): Values to represent the stop instruction
107 and exit system call trap being executed.
108
109 * interp.c (sim_stop_reason): Set exit code correctly for stop
110 instruction and exit system call trap.
111
112 * configure.in (--enable-sim-cflags): Remove trace case.
113 (--enable-sim-debug): New switch to set the debug values.
114 * configure: Regenerate.
115
116 * simops.c (trace_{input,output}_func): Rename from
117 trace_{input,output}.
118 (trace_{input,output}): Call trace_{input,output}_func if
119 d10v_debug is non-zero.
120 (SIZE_INSTRUCTION): Cut down to 8.
121 (SIZE_OPERANDS): Cut down to 18.
122 (SIZE_LOCATION): New value for size of line number, function name
123 field.
124 (init_text_p,text{,_start,_end}): New static variables for
125 printing line number and function name.
126 (exec_bfd): New external that run.c sets.
127 (trace_input_func): Print line number and function name if
128 available and if desired.
129 (OP_4E09): Don't print out DBT message.
130 (OP_5FE0): Set exception field to SIG_D10V_STOP.
131 (OP_5F00): Set exception field to SIG_D10V_EXIT.
132
133 Sat Sep 14 22:18:43 1996 Michael Meissner <meissner@tiktok.cygnus.com>
134
135 * interp.c (do_2_short): If the instruction encodes jump->ins,
136 don't do the second instruction if the jump succeeds.
137
138 Fri Sep 13 22:35:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
139
140 * simops.c (OP_5F00): Use unknown traps to print all GPRs,
141 accumulators, PC, and F0/F1/C flags.
142
143 Thu Sep 12 12:50:11 1996 Mark Alexander <marka@cygnus.com>
144
145 * simops.c (OP_5F00): Fix problems with system calls.
146
147 Thu Sep 12 12:19:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
148
149 * simops.c (OP_5F00): Correct tracing information for trap.
150
151 Wed Sep 11 18:55:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
152
153 * Makefile.in (CSEARCH): Correctly find opcodes directory.
154
155 Mon Sep 9 13:27:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
156
157 * simops.c (trace_output): Properly align accumulator output.
158 (OP_3{0,2,4}00): Properly parenthesize test expression. Add error
159 if shift count is too high.
160 (OP_4E{00,02,04,20,22,40,42}): Make tests agree with book.
161 (OP_4E09): Make cpfg properly trace the input flags.
162 (op_types): Add OP_FLAG_OUTPUT.
163 (trace_{input,output}): Support OP_FLAG_OUTPUT.
164 (OP_31000000): This ld2w varient is a 16-bit memory reference, not
165 an 8-bit memory reference instruction for tracing purposes.
166 (OP_201): Addi needs to set the carry.
167
168 Fri Sep 6 17:56:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
169
170 * simops.c (OP_2600, OP_2601): Changed min and max comparisons
171 to use signed register values.
172
173 Wed Sep 4 11:35:17 1996 Michael Meissner <meissner@tiktok.cygnus.com>
174
175 * d10v_sim.h (DEBUG_*): Add bit flags for controlling debug
176 output.
177 (_ins_type): New enumeration to specify which container an
178 instruction is in, and whether it is part of a parallel operation.
179 (_state): Add ins_type field.
180 ({,u}int{8,16,32,64}): Use limits.h to size the appropriate types.
181 (ins_type_counters): Counters for the various instruction types.
182 ({left,right}_nops): Counters for the number of nops in each
183 container.
184 (d10v_debug): New variable to indicate whether debugging is turned
185 on.
186
187 * simops.c: (all functions): Change all #ifdef DEBUG code so that
188 the input and output values can be traced, along with the
189 instruction type. Make the -t option enable tracing.
190 (all functions): Change printf calls to use the printf_filtered
191 function in the callback table.
192
193 * interp.c (_leftright): New enumeration to say whether 2 short
194 instructions are done left first or right first.
195 (do_{long,2_short,parallel}): Indicate in the machine state which
196 type of instruction this is. Count each of the types of
197 instructions executed.
198 (sim_size): Only print the memory sizes if DEBUG_MEMSIZE debug
199 flag is set.
200 (sim_resume): Pass left/right indication to do_2_short.
201 (all functions): Change printf calls to use the printf_filtered
202 function in the callback table.
203 (sim_trace): Turn on debug flag if DEBUG was defined, and call
204 sim_resume.
205 (sim_info): Print out statistics on instructions.
206 (sim_{trace,create_inferior}): Eliminate extraneous output unless
207 debugging.
208 (sim_open): If args == -t and DEBUG was defined, set d10v_debug.
209 Only initialize the hash table the first time sim_open is called.
210
211 * Makefile.in: Make objects depend on d10v_sim.h.
212 ({,SIM_}CFLAGS): Include configure dependent switches. Setting
213 CFLAGS does not override host/target defines or SIM_CFLAGS.
214 (CC_FOR_BUILD,gencode): Use CC_FOR_BUILD to compile gencode.
215 (run): By default, the math library is not needed to be linked
216 in.
217 ({BFD,LIBIBERTY}_LIB): Define as variables so they can be
218 overridden.
219 (VPATH): Don't set to anything but @srcdir@ to work with non-GNU
220 makes.
221 ({run,callback}.o): Provide explicit paths to their appropriate
222 source directories.
223 (gencode{,.o},d10v-opc.o): Split compilation into creating object
224 and linking. Instead of linking in libopcodes.a, just compile
225 d10v-opc.o directly to handle canadian cross.
226 (CSEARCH): Add opcodes directory.
227
228 * configure.in (--enable-sim-cflags): New switch to allow user to
229 set the defaults.
230 (CC_FOR_BUILD): Deal with canadian crosses.
231 * configure: Regenerate.
232
233 Wed Sep 04 04:45:34 1996 Mark Alexander <marka@cygnus.com>
234
235 * simops.c: Include correct syscall.h for d10v, not host's.
236 Fix #ifdef SYS_stat.
237
238 Tue Sep 3 14:00:04 1996 Michael Meissner <meissner@tiktok.cygnus.com>
239
240 * simops.c (OP_5F00): Wrap all SYS_xxx traps with #ifdef.
241 Add trap 2 to be printf and trap 3 to be putchar.
242
243 Wed Aug 28 21:42:34 1996 Mark Alexander <marka@cygnus.com>
244
245 * Makefile.in, d10v_sim.h, interp.c, simops.c: Add support
246 for low-level system calls.
247
248 Wed Aug 28 17:33:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
249
250 * Makefile.in, d10v_sim.h, interp.c: Fix byte-order problems.
251
252 Mon Aug 26 18:30:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
253
254 * d10v_sim.h (SEXT32): Added.
255 * interp.c: Commented out printfs.
256 * simops.c: Fixed error in sb and st2w.
257
258 Thu Aug 15 13:30:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
259
260 * Makefile.in, d10v_sim.h, interp.c, simops.c: Added remaining
261 DSP instructions. Added modulo addressing.
262
263 Sun Aug 11 12:57:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
264
265 * Makefile.in, d10v_sim.h, interp.c, simops.c: Snapshot.
266
267 Fri Aug 2 17:44:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
268
269 * d10v_sim.h, simops.c: Snapshot.
270
271 Thu Aug 1 17:05:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
272
273 * ChangeLog, Makefile.in, configure, configure.in, d10v_sim.h,
274 gencode.c, interp.c, simops.c: Created.
275
This page took 0.035062 seconds and 4 git commands to generate.