* configure: Re-generate.
[deliverable/binutils-gdb.git] / sim / v850 / ChangeLog
CommitLineData
a77aa7ec
AC
1Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
2
3 * configure: Re-generate.
4
601fb8ae
MM
5Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
6
7 * configure: Regenerate to track ../common/aclocal.m4 changes.
8
0b0cc453
DE
9Thu Mar 13 13:00:54 1997 Doug Evans <dje@canuck.cygnus.com>
10
11 * interp.c (sim_open): New SIM_DESC result. Argument is now
12 in argv form.
13 (other sim_*): New SIM_DESC argument.
14
15Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
16
17 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
18 COMMON_{PRE,POST}_CONFIG_FRAG instead.
19 * configure.in: sinclude ../common/aclocal.m4.
20 * configure: Regenerated.
21
295dbbe4
SG
22Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
23
24 * configure configure.in Makefile.in: Update to new configure
25 scheme which is more compatible with WinGDB builds.
26 * configure.in: Improve comment on how to run autoconf.
27 * configure: Re-run autoconf to get new ../common/aclocal.m4.
28 * Makefile.in: Use autoconf substitution to install common
29 makefile fragment.
30
5a8023e5
MM
31Mon Jan 20 16:05:34 1997 Michael Meissner <meissner@tiktok.cygnus.com>
32
33 * simops.c (OP_{E0,2E0,6E0}): The multiply operations sign extend,
34 not zero extend.
35
36Tue Jan 14 17:06:03 1997 Stu Grossman (grossman@critters.cygnus.com)
37
38 * simops.c: Put ifdefs around things to make MSVC happy. Get rid
39 of unistd.h. Disable SYS_stat, SYS_chown, SYS_time, SYS_times,
40 SYS_gettimeofday and SYS_utime from MSVC.
41
6ec96a02
MM
42Tue Dec 31 18:11:13 1996 Michael Meissner <meissner@tiktok.cygnus.com>
43
44 * simops.c (OP_10007E0): Know that kill encodes the signal number
45 via: 0xdead0000 | signal and turn it back into a signal.
46
ee3f2d4f
MM
47Fri Dec 27 14:44:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
48
49 * v850_sim.h (SIG_V850_EXIT): Define as -1.
50
51 * interp.c (sim_open): Cast calloc function.
52 (sim_stop_reason): If signal is SIG_V850_EXIT, inform gdb the
53 program exited with the appropriate exit code.
54 (sim_set_interrupt): Declare buildargv.
55
56 * simops.c (OP_10007E0): Make exit signal normal exit. Make time
57 type correct and work on big endian systems.
58
59Wed Nov 20 02:18:44 1996 Doug Evans <dje@canuck.cygnus.com>
60
61 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
62 (SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define.
63 * configure.in: Simplify using macros in ../common/aclocal.m4.
64 Call AC_CHECK_HEADERS(unistd.h).
65 * configure: Regenerated.
66 * config.in: New file.
67 * simops.c: #include "config.h". #include <unistd.h> if present.
68
69Sun Nov 3 23:02:54 1996 Stan Shebs <shebs@andros.cygnus.com>
70
71 * v850_sim.h (State): New slots dummy_mem, pending_nmi.
72 (EIPC, etc): New macros for system registers.
73 * simops.c, interp.c: Use everywhere.
74
75 * interp.c: Add support for interrupts issued by interrupt
76 generators, either PC- or time-based. Controlled by simulator
77 command "sim interrupt".
78
79 * interp.c: Add support for variable-size allocation of memory,
80 via simulator command "sim memory-map".
81 (map): Issue SIGSEGV for references to invalid memory regions.
82
7fc45edb
GRK
83Thu Oct 31 14:44:10 1996 Gavin Koch <gavin@cygnus.com>
84
85 * simops.c: Include <sys/time.h> for struct timeval and
86 struct timezone.
87
6803f89b
JL
88Wed Oct 30 08:49:10 1996 Jeffrey A Law (law@cygnus.com)
89
8824fb45
JL
90 * simops.c (OP_10007E0): Handle SYS_times and SYS_gettimeofday.
91
6803f89b
JL
92 * simops.c (OP_10007E0): Handle SYS_time.
93
c500c074
JL
94Tue Oct 29 14:22:55 1996 Jeffrey A Law (law@cygnus.com)
95
96 * simops.c: Include <sys/stat.h>.
97 (OP_10007E0): Handle SYS_stat.
98
0a89af6e
JL
99Thu Oct 24 12:26:35 1996 Jeffrey A Law (law@cygnus.com)
100
c500c074
JL
101 * simops.c (OP_10007E0): Don't declare errno.
102
f0099789
JL
103 * simops.c (OP_500): Mask off low bit in displacement
104 for sld.w.
105 (OP_501): Similarly.
106
85c09b05
JL
107 * simops.c (OP_500): Fix displacement handling for sld.w.
108 (OP_501): Similarly for sst.w.
109
0a89af6e
JL
110 * simops.c (trace_input): Remove all references to SEXT7.
111 (OP_300, OP_400, OP_500, OP_380, OP_480, OP_501): Displacement
112 is zero extended for sst/sld instructions.
113 * v850_sim.h (SEX7): Delete. It's no longer needed (and it
114 was incorrect anyway).
115
96851909
SG
116Thu Oct 24 10:33:33 1996 Stu Grossman (grossman@critters.cygnus.com)
117
118 * Makefile.in: Get rid of srcroot. Set all INSTALL macros via
119 autoconf.
120 * gencode.c (write_opcodes): Pad operands field to account for
121 MSVC braindamage.
122 * simops.c: Include errno.h. Exclude SYS_chown, since MSVC
123 doesn't support it. (Why is this here in the first place?!?)
124 * v850_sim.h: Get rid of 64 bit defs. Also, get rid of #elif's.
125 Change number of operands in struct simops from 9 to 6. Define
126 SIGTRAP and SIGQUIT for MSVC.
127
254ef340
SG
128Tue Oct 15 16:19:51 1996 Stu Grossman (grossman@critters.cygnus.com)
129
130 * interp.c (MEM_SIZE): It's now bytes, not a power of 2.
131 * (map): Add support for external mem in the 1->2 meg range.
132 Also, abort() when memory access is way out of bounds. (Better to
133 die than to give wrong result. (This will be fixed later.))
134 * (sim_size): MEM_SIZE is now bytes, not shift factor.
135
136Tue Oct 1 15:53:24 1996 Gavin Koch <gavin@cygnus.com>
137
138 * simops.c (trace_input): Swapped order of operands for output
139 output of OP_IMM_REG. Changed the fetching of the operands for
140 OP_LOAD32, and OP_STORE32 to work like op-function.
141
142Mon Sep 30 15:46:33 1996 Stu Grossman (grossman@critters.cygnus.com)
143
144 * interp.c: Move includes of remote-sim.h and callback.h to
145 v850-sim.h.
146 * (lookup_hash): Add PC to report of hash failure.
147 * (map load_mem store_mem): New memory subsystem. Models V851
148 memory system.
149 * (sim_write sim_read): Use new memory subsystem.
150 * (sim_resume): Don't load and save PC into EIPC anymore. Needed
151 to make user-defined traps work right.
152 * simops.c (OP_*): Use new memory subsystem.
153 * (OP_14007E0 (reti)): Implement reti.
154 * (OP_14996E0 (trap)): Implement user-defined traps. Move I/O to
155 trap 31. Use new memory subsystem.
156 * v850_sim.h: Prototypes for load_mem, store_mem and map. Use
157 load_mem in RLW macro.
158
88777ce2
SG
159Fri Sep 27 18:34:09 1996 Stu Grossman (grossman@critters.cygnus.com)
160
161 * gencode.c (write_opcodes): Output hex values for opcode mask
162 and patterns.
163 * interp.c (sim_resume): Save and restore PC from the appropriate
164 register.
165 * (sim_fetch_register sim_store_register): Fix byte-order problem
166 with reading and writing registers.
167 * simops.c (OP_FFFF): Implement pseudo-breakpoint insn.
168
da86a4fa
JL
169Fri Sep 27 17:42:37 1996 Jeffrey A Law (law@cygnus.com)
170
171 * simops.c (trace_input): Fix thinko.
172
173Wed Sep 18 09:54:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
174
175 * simops.c (exec_bfd): Rename from sim_bfd.
176 (trace_input): Ditto.
177
1d00ce83
MM
178Thu Sep 12 12:03:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
179
180 * simops.c (trace_input): Use find_nearest_line to print line
181 number, function name or file name of PC.
182
ead4a3f1
MM
183Wed Sep 11 16:44:37 1996 Michael Meissner <meissner@tiktok.cygnus.com>
184
185 * simops.c: Add tracing support. Use SEXTxx macros instead of
186 doing hardwired shifts.
187
188 * configure.in (--enable-sim-cflags): Add switch to add additional
189 flags to simulator buld. If --enable-sim-cflags=trace, turn on
190 tracing.
191 * configure: Regenerate.
192
193 * Makefile.in: Don't require a VPATH capable make if configuring
194 in the same directory. Don't use CFLAGS for configuration flags.
195 Add flags from --enable-sim-cflags. Support canadian cross
196 builds. Rebuild whole simulator if include files change.
197
198 * interp.c (v850_debug): New global for debugging.
199 (lookup_hash,sim_size,sim_set_profile): Use
200 printf_filtered callback, instead of calling printf directly.
201 (sim_{open,trace}): Enable tracing if -t and compiled for tracing.
202
203 * v850_sim.h: Use limits.h to set the various sized types.
204 (SEXT{5,7,16,22}): New macros.
205
9909e232
JL
206Mon Sep 9 20:50:46 1996 Jeffrey A Law (law@cygnus.com)
207
208 * interp.c (hash): Make this an inline function
209 when compiling with GCC. Simplify.
210 * simpos.c: Explicitly include "sys/syscall.h". Remove
211 some #if 0'd code. Enable more emulated syscalls.
212
213Wed Sep 4 01:48:55 1996 Jeffrey A Law (law@cygnus.com)
214
215 * interp.c: Fix sign bit handling for add and sub instructions.
216
d81352b8
JL
217Tue Sep 3 10:20:30 1996 Jeffrey A Law (law@cygnus.com)
218
9fca2fd3
JL
219 * gencode.c: Fix various indention & style problems.
220 Remove test code. Remove #if 0 code.
221 * interp.c: Provide prototypes for all static functions.
222 Fix minor indention problems.
223 (sim_open, sim_resume): Remove unused variables.
224 (sim_read): Return type is "int".
225 * simops.c: Remove unused variables.
226 (divh): Make result of divide-by-zero zero.
227 (setf): Initialize result to keep compiler quiet.
228 (sar instructions): These just clear the overflow bit.
229 * v850_sim.h: Provide prototypes for put_byte, put_half
230 and put_word.
231
d81352b8
JL
232 * interp.c: OP should be an array of 32bit operands!
233 (v850_callback): Declare.
234 (do_format_5): Fix extraction of OP[0].
235 (sim_size): Remove debugging printf.
236 (sim_set_callbacks): Do something useful.
237 (sim_stop_reason): Gross hacks to get c-torture running.
238 * simops.c: Simplify code for computing targets of bCC
239 insns. Invert 's' bit if 'ov' bit is set for some
240 instructions. Fix 'cy' bit handling for numerous
241 instructions. Make the simulator stop when a halt
242 instruction is encountered. Very crude support for
243 emulated syscalls (trap 0).
244 * v850_sim.h: Include "callback.h" and declare
245 v850_callback. Items in the operand array are 32bits.
246
247Sun Sep 1 22:35:35 1996 Jeffrey A Law (law@cygnus.com)
248
249 * interp.c (sim_resume): Fix code to check for a format 3
250 opcode.
251 * simops.c: bCC insns only argument is a constant, not a
252 register value (duh...)
253
83fc3bac
JL
254Fri Aug 30 10:33:49 1996 Jeffrey A Law (law@cygnus.com)
255
787d66bb
JL
256 * simops.c: Fix "not1" and "set1".
257
3046d879
JL
258 * simops.c: Don't forget to initialize temp for
259 "ld.h" and "ld.w"
260
ba853302
JL
261 * interp.c: Remove various debugging printfs.
262
0e4ccc58
JL
263 * simops.c: Fix satadd, satsub boundary case handling.
264
83fc3bac
JL
265 * interp.c (hash): Fix.
266 * interp.c (do_format_8): Get operands correctly and
267 call the target function.
268 * simops.c: Rough cut at "clr1", "not1", "set1", and "tst1".
269
1fe983dc
JL
270Thu Aug 29 13:53:29 1996 Jeffrey A Law (law@cygnus.com)
271
3cb6bf78
JL
272 * interp.c (do_format_4): Get operands correctly and
273 call the target function.
274 * simops.c: Rough cut at "sld.b", "sld.h", "sld.w", "sst.b",
275 "sst.h", and "sst.w".
276
28647e4c
JL
277 * v850_sim.h: The V850 doesn't have split I&D spaces. Change
278 accordingly. Remove many unused definitions.
279 * interp.c: The V850 doesn't have split I&D spaces. Change
280 accordingly.
281 (get_longlong, get_longword, get_word): Deleted.
282 (write_longlong, write_longword, write_word): Deleted.
283 (get_operands): Deleted.
284 (get_byte, get_half, get_word): New functions.
285 (put_byte, put_half, put_word): New functions.
286 * simops.c: Remove unused functions. Rough cut at
287 "ld.b", "ld.h", "ld.w", "st.b", "st.h", "st.w" insns.
288
614f1c68
JL
289 * v850_sim.h (struct _state): Remove "psw" field. Add
290 "sregs" field.
291 (PSW): Remove bogus definition.
292 * simops.c: Change condition code handling to use the psw
293 register within the sregs array. Handle "ldsr" and "stsr".
294
dca41ba7
JL
295 * simops.c: Handle "satadd", "satsub", "satsubi", "satsubr".
296
e9b6cbac
JL
297 * interp.c (do_format_5): Get operands correctly and
298 call the target function.
299 (sim_resume): Don't do a PC update for format 5 instructions.
300 * simops.c: Handle "jarl" and "jmp" instructions.
301
3095b8df
JL
302 * simops.c: Fix minor typos. Handle "cmp", "setf", "tst"
303 "di", and "ei" instructions correctly.
304
2108e864
JL
305 * interp.c (do_format_3): Get operands correctly and call
306 the target function.
307 * simops.c: Handle bCC instructions.
308
35404c7d
JL
309 * simops.c: Add condition code handling to shift insns.
310 Fix minor typos in condition code handling for other insns.
311
aabce0f4
JL
312 * Makefile.in: Fix typo.
313 * simops.c: Add condition code handling to "sub" "subr" and
314 "divh" instructions.
315
0ef0eba5
JL
316 * interp.c (hash): Update to be more accurate.
317 (lookup_hash): Call hash rather than computing the hash
318 code here.
319 (do_format_1_2): Handle format 1 and format 2 instructions.
320 Get operands correctly and call the target function.
321 (do_format_6): Get operands correctly and call the target
322 function.
323 (do_formats_9_10): Rough cut so shift ops will work.
324 (sim_resume): Tweak to deal with format 1 and format 2
325 handling in a single funtion. Don't update the PC
326 for format 3 insns. Fix typos.
327 * simops.c: Slightly reorganize. Add condition code handling
328 to "add", "addi", "and", "andi", "or", "ori", "xor", "xori"
329 and "not" instructions.
330 * v850_sim.h (reg_t): Registers are 32bits.
331 (_state): The V850 has 32 general registers. Add a 32bit
332 psw and pc register too. Add accessor macros
333
334 * Makefile.in, interp.c, v850_sim.h: Bring over endianness
335 changes from the d10v simulator.
336
77553374
JL
337 * simops.c: Add shift support.
338
e98e3b2c
JL
339 * simops.c: Add multiply & divide support. Abort for system
340 instructions.
341
1fe983dc
JL
342 * simops.c: Add logicals, mov, movhi, movea, add, addi, sub
343 and subr. No condition codes yet.
344
22c1c7dd
JL
345Wed Aug 28 13:53:22 1996 Jeffrey A Law (law@cygnus.com)
346
347 * ChangeLog, Makefile.in, configure, configure.in, v850_sim.h,
348 gencode.c, interp.c, simops.c: Created.
349
This page took 0.058123 seconds and 4 git commands to generate.