Regenerate simulator configure scripts; Remove d10v traps 1-3, Make 15 the system...
[deliverable/binutils-gdb.git] / sim / mips / ChangeLog
1 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
2
3 * configure: Regenerate to track ../common/aclocal.m4 changes.
4
5 Thu Mar 13 12:51:36 1997 Doug Evans <dje@canuck.cygnus.com>
6
7 * interp.c (sim_open): New SIM_DESC result. Argument is now
8 in argv form.
9 (other sim_*): New SIM_DESC argument.
10
11 start-sanitize-r5900
12 Wed Feb 26 18:32:21 1997 Gavin Koch <gavin@cygnus.com>
13
14 * gencode.c (POP_AND,POP_OR,POP_NOR,POP_XOR):
15 Change values to avoid overloading DOUBLEWORD which is tested
16 for all insns.
17 * gencode.c: reinstate "offending code".
18 end-sanitize-r5900
19
20 Mon Feb 24 22:47:14 1997 Dawn Perchik <dawn@cygnus.com>
21
22 * interp.c: Fix printing of addresses for non-64-bit targets.
23 (pr_addr): Add function to print address based on size.
24 start-sanitize-r5900
25 * gencode.c: #ifdef out offending code until a permanent fix
26 can be added. Code is causing build errors for non-5900 mips targets.
27 end-sanitize-r5900
28
29 start-sanitize-r5900
30 Thu Feb 20 10:40:24 1997 Gavin Koch <gavin@cetus.cygnus.com>
31
32 * gencode.c (process_instructions): Correct test for ISA dependent
33 architecture bits in isa field of MIPS_DECODE.
34
35 end-sanitize-r5900
36 Wed Feb 19 14:42:09 1997 Mark Alexander <marka@cygnus.com>
37
38 * interp.c (simopen): Add support for LSI MiniRISC PMON vectors.
39
40 start-sanitize-r5900
41 Tue Feb 18 17:03:47 1997 Gavin Koch <gavin@cygnus.com>
42
43 * gencode.c (MIPS_DECODE): Correct instruction feature flags for
44 PMADDUW.
45
46 end-sanitize-r5900
47 Thu Feb 13 14:08:30 1997 Ian Lance Taylor <ian@cygnus.com>
48
49 * gencode.c (build_mips16_operands): Correct computation of base
50 address for extended PC relative instruction.
51
52 start-sanitize-r5900
53 Fri Feb 7 11:12:44 1997 Gavin Koch <gavin@cygnus.com>
54
55 * Makefile.in, configure, configure.in, gencode.c,
56 interp.c, support.h: add r5900.
57
58 end-sanitize-r5900
59 Thu Feb 6 17:16:15 1997 Ian Lance Taylor <ian@cygnus.com>
60
61 * interp.c (mips16_entry): Add support for floating point cases.
62 (SignalException): Pass floating point cases to mips16_entry.
63 (ValueFPR): Don't restrict fmt_single and fmt_word to even
64 registers.
65 (StoreFPR): Likewise. Also, don't clobber fpr + 1 for fmt_single
66 or fmt_word.
67 (COP_LW): Pass fmt_word rather than fmt_uninterpreted to StoreFPR,
68 and then set the state to fmt_uninterpreted.
69 (COP_SW): Temporarily set the state to fmt_word while calling
70 ValueFPR.
71
72 Tue Feb 4 16:48:25 1997 Ian Lance Taylor <ian@cygnus.com>
73
74 * gencode.c (build_instruction): The high order may be set in the
75 comparison flags at any ISA level, not just ISA 4.
76
77 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
78
79 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
80 COMMON_{PRE,POST}_CONFIG_FRAG instead.
81 * configure.in: sinclude ../common/aclocal.m4.
82 * configure: Regenerated.
83
84 Fri Jan 31 11:11:45 1997 Ian Lance Taylor <ian@cygnus.com>
85
86 * configure: Rebuild after change to aclocal.m4.
87
88 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
89
90 * configure configure.in Makefile.in: Update to new configure
91 scheme which is more compatible with WinGDB builds.
92 * configure.in: Improve comment on how to run autoconf.
93 * configure: Re-run autoconf to get new ../common/aclocal.m4.
94 * Makefile.in: Use autoconf substitution to install common
95 makefile fragment.
96
97 Wed Jan 8 12:39:03 1997 Jim Wilson <wilson@cygnus.com>
98
99 * gencode.c (build_instruction): Use BigEndianCPU instead of
100 ByteSwapMem.
101
102 Thu Jan 02 22:23:04 1997 Mark Alexander <marka@cygnus.com>
103
104 * interp.c (sim_monitor): Make output to stdout visible in
105 wingdb's I/O log window.
106
107 Tue Dec 31 07:04:00 1996 Mark Alexander <marka@cygnus.com>
108
109 * support.h: Undo previous change to SIGTRAP
110 and SIGQUIT values.
111
112 Mon Dec 30 17:36:06 1996 Ian Lance Taylor <ian@cygnus.com>
113
114 * interp.c (store_word, load_word): New static functions.
115 (mips16_entry): New static function.
116 (SignalException): Look for mips16 entry and exit instructions.
117 (simulate): Use the correct index when setting fpr_state after
118 doing a pending move.
119
120 Sun Dec 29 09:37:18 1996 Mark Alexander <marka@cygnus.com>
121
122 * interp.c: Fix byte-swapping code throughout to work on
123 both little- and big-endian hosts.
124
125 Sun Dec 29 09:18:32 1996 Mark Alexander <marka@cygnus.com>
126
127 * support.h: Make definitions of SIGTRAP and SIGQUIT consistent
128 with gdb/config/i386/xm-windows.h.
129
130 Fri Dec 27 22:48:51 1996 Mark Alexander <marka@cygnus.com>
131
132 * gencode.c (build_instruction): Work around MSVC++ code gen bug
133 that messes up arithmetic shifts.
134
135 Fri Dec 20 11:04:05 1996 Stu Grossman (grossman@critters.cygnus.com)
136
137 * support.h: Use _WIN32 instead of __WIN32__. Also add defs for
138 SIGTRAP and SIGQUIT for _WIN32.
139
140 Thu Dec 19 14:07:27 1996 Ian Lance Taylor <ian@cygnus.com>
141
142 * gencode.c (build_instruction) [MUL]: Cast operands to word64, to
143 force a 64 bit multiplication.
144 (build_instruction) [OR]: In mips16 mode, don't do anything if the
145 destination register is 0, since that is the default mips16 nop
146 instruction.
147
148 Mon Dec 16 14:59:38 1996 Ian Lance Taylor <ian@cygnus.com>
149
150 * gencode.c (MIPS16_DECODE): SWRASP is I8, not RI.
151 (build_endian_shift): Don't check proc64.
152 (build_instruction): Always set memval to uword64. Cast op2 to
153 uword64 when shifting it left in memory instructions. Always use
154 the same code for stores--don't special case proc64.
155
156 * gencode.c (build_mips16_operands): Fix base PC value for PC
157 relative operands.
158 (build_instruction): Call JALDELAYSLOT rather than DELAYSLOT for a
159 jal instruction.
160 * interp.c (simJALDELAYSLOT): Define.
161 (JALDELAYSLOT): Define.
162 (INDELAYSLOT, INJALDELAYSLOT): Define.
163 (simulate): Clear simJALDELAYSLOT when simDELAYSLOT is cleared.
164
165 Tue Dec 24 22:11:20 1996 Angela Marie Thomas (angela@cygnus.com)
166
167 * interp.c (sim_open): add flush_cache as a PMON routine
168 (sim_monitor): handle flush_cache by ignoring it
169
170 Wed Dec 11 13:53:51 1996 Jim Wilson <wilson@cygnus.com>
171
172 * gencode.c (build_instruction): Use !ByteSwapMem instead of
173 BigEndianMem.
174 * interp.c (CONFIG, config_EP_{mask,shift,D,DxxDxx, config_BE): Delete.
175 (BigEndianMem): Rename to ByteSwapMem and change sense.
176 (BigEndianCPU, sim_write, LoadMemory, StoreMemory): Change
177 BigEndianMem references to !ByteSwapMem.
178 (set_endianness): New function, with prototype.
179 (sim_open): Call set_endianness.
180 (sim_info): Use simBE instead of BigEndianMem.
181 (xfer_direct_word, xfer_direct_long, swap_direct_word,
182 swap_direct_long, xfer_big_word, xfer_big_long, xfer_little_word,
183 xfer_little_long, swap_word, swap_long): Delete unnecessary MSC_VER
184 ifdefs, keeping the prototype declaration.
185 (swap_word): Rewrite correctly.
186 (ColdReset): Delete references to CONFIG. Delete endianness related
187 code; moved to set_endianness.
188
189 Tue Dec 10 11:32:04 1996 Jim Wilson <wilson@cygnus.com>
190
191 * gencode.c (build_instruction, case JUMP): Truncate PC to 32 bits.
192 * interp.c (CHECKHILO): Define away.
193 (simSIGINT): New macro.
194 (membank_size): Increase from 1MB to 2MB.
195 (control_c): New function.
196 (sim_resume): Rename parameter signal to signal_number. Add local
197 variable prev. Call signal before and after simulate.
198 (sim_stop_reason): Add simSIGINT support.
199 (sim_warning, sim_error, dotrace, SignalException): Define as stdarg
200 functions always.
201 (sim_warning): Delete call to SignalException. Do call printf_filtered
202 if logfh is NULL.
203 (AddressTranslation): Add #ifdef DEBUG around debugging message and
204 a call to sim_warning.
205
206 Wed Nov 27 11:53:50 1996 Ian Lance Taylor <ian@cygnus.com>
207
208 * gencode.c (process_instructions): If ! proc64, skip DOUBLEWORD
209 16 bit instructions.
210
211 Tue Nov 26 11:53:12 1996 Ian Lance Taylor <ian@cygnus.com>
212
213 Add support for mips16 (16 bit MIPS implementation):
214 * gencode.c (inst_type): Add mips16 instruction encoding types.
215 (GETDATASIZEINSN): Define.
216 (MIPS_DECODE): Add REG flag to dsllv, dsrav, and dsrlv. Add
217 jalx. Add LEFT flag to mfhi and mflo. Add RIGHT flag to mthi and
218 mtlo.
219 (MIPS16_DECODE): New table, for mips16 instructions.
220 (bitmap_val): New static function.
221 (struct mips16_op): Define.
222 (mips16_op_table): New table, for mips16 operands.
223 (build_mips16_operands): New static function.
224 (process_instructions): If PC is odd, decode a mips16
225 instruction. Break out instruction handling into new
226 build_instruction function.
227 (build_instruction): New static function, broken out of
228 process_instructions. Check modifiers rather than flags for SHIFT
229 bit count and m[ft]{hi,lo} direction.
230 (usage): Pass program name to fprintf.
231 (main): Remove unused variable this_option_optind. Change
232 ``*loptarg++'' to ``loptarg++''.
233 (my_strtoul): Parenthesize && within ||.
234 * interp.c (LoadMemory): Accept a halfword pAddr if vAddr is odd.
235 (simulate): If PC is odd, fetch a 16 bit instruction, and
236 increment PC by 2 rather than 4.
237 * configure.in: Add case for mips16*-*-*.
238 * configure: Rebuild.
239
240 Fri Nov 22 08:49:36 1996 Mark Alexander <marka@cygnus.com>
241
242 * interp.c: Allow -t to enable tracing in standalone simulator.
243 Fix garbage output in trace file and error messages.
244
245 Wed Nov 20 01:54:37 1996 Doug Evans <dje@canuck.cygnus.com>
246
247 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
248 (SIM_{OBJS,EXTRA_CFLAGS,EXTRA_CLEAN}): Define.
249 * configure.in: Simplify using macros in ../common/aclocal.m4.
250 * configure: Regenerated.
251 * tconfig.in: New file.
252
253 Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com>
254
255 * interp.c: Fix bugs in 64-bit port.
256 Use ansi function declarations for msvc compiler.
257 Initialize and test file pointer in trace code.
258 Prevent duplicate definition of LAST_EMED_REGNUM.
259
260 Tue Oct 15 11:07:06 1996 Mark Alexander <marka@cygnus.com>
261
262 * interp.c (xfer_big_long): Prevent unwanted sign extension.
263
264 Thu Sep 26 17:35:00 1996 James G. Smith <jsmith@cygnus.co.uk>
265
266 * interp.c (SignalException): Check for explicit terminating
267 breakpoint value.
268 * gencode.c: Pass instruction value through SignalException()
269 calls for Trap, Breakpoint and Syscall.
270
271 Thu Sep 26 11:35:17 1996 James G. Smith <jsmith@cygnus.co.uk>
272
273 * interp.c (SquareRoot): Add HAVE_SQRT check to ensure sqrt() is
274 only used on those hosts that provide it.
275 * configure.in: Add sqrt() to list of functions to be checked for.
276 * config.in: Re-generated.
277 * configure: Re-generated.
278
279 Fri Sep 20 15:47:12 1996 Ian Lance Taylor <ian@cygnus.com>
280
281 * gencode.c (process_instructions): Call build_endian_shift when
282 expanding STORE RIGHT, to fix swr.
283 * support.h (SIGNEXTEND): If the sign bit is not set, explicitly
284 clear the high bits.
285 * interp.c (Convert): Fix fmt_single to fmt_long to not truncate.
286 Fix float to int conversions to produce signed values.
287
288 Thu Sep 19 15:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
289
290 * gencode.c (MIPS_DECODE): Set UNSIGNED for multu instruction.
291 (process_instructions): Correct handling of nor instruction.
292 Correct shift count for 32 bit shift instructions. Correct sign
293 extension for arithmetic shifts to not shift the number of bits in
294 the type. Fix 64 bit multiply high word calculation. Fix 32 bit
295 unsigned multiply. Fix ldxc1 and friends to use coprocessor 1.
296 Fix madd.
297 * interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC.
298 It's OK to have a mult follow a mult. What's not OK is to have a
299 mult follow an mfhi.
300 (Convert): Comment out incorrect rounding code.
301
302 Mon Sep 16 11:38:16 1996 James G. Smith <jsmith@cygnus.co.uk>
303
304 * interp.c (sim_monitor): Improved monitor printf
305 simulation. Tidied up simulator warnings, and added "--log" option
306 for directing warning message output.
307 * gencode.c: Use sim_warning() rather than WARNING macro.
308
309 Thu Aug 22 15:03:12 1996 Ian Lance Taylor <ian@cygnus.com>
310
311 * Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
312 getopt1.o, rather than on gencode.c. Link objects together.
313 Don't link against -liberty.
314 (gencode.o, getopt.o, getopt1.o): New targets.
315 * gencode.c: Include <ctype.h> and "ansidecl.h".
316 (AND): Undefine after including "ansidecl.h".
317 (ULONG_MAX): Define if not defined.
318 (OP_*): Don't define macros; now defined in opcode/mips.h.
319 (main): Call my_strtoul rather than strtoul.
320 (my_strtoul): New static function.
321
322 Wed Jul 17 18:12:38 1996 Stu Grossman (grossman@critters.cygnus.com)
323
324 * gencode.c (process_instructions): Generate word64 and uword64
325 instead of `long long' and `unsigned long long' data types.
326 * interp.c: #include sysdep.h to get signals, and define default
327 for SIGBUS.
328 * (Convert): Work around for Visual-C++ compiler bug with type
329 conversion.
330 * support.h: Make things compile under Visual-C++ by using
331 __int64 instead of `long long'. Change many refs to long long
332 into word64/uword64 typedefs.
333
334 Wed Jun 26 12:24:55 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
335
336 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
337 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
338 (docdir): Removed.
339 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
340 (AC_PROG_INSTALL): Added.
341 (AC_PROG_CC): Moved to before configure.host call.
342 * configure: Rebuilt.
343
344 Wed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk>
345
346 * configure.in: Define @SIMCONF@ depending on mips target.
347 * configure: Rebuild.
348 * Makefile.in (run): Add @SIMCONF@ to control simulator
349 construction.
350 * gencode.c: Change LOADDRMASK to 64bit memory model only.
351 * interp.c: Remove some debugging, provide more detailed error
352 messages, update memory accesses to use LOADDRMASK.
353
354 Mon Jun 3 11:55:03 1996 Ian Lance Taylor <ian@cygnus.com>
355
356 * configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,
357 AC_CHECK_LIB, and AC_CHECK_FUNCS. Change AC_OUTPUT to set
358 stamp-h.
359 * configure: Rebuild.
360 * config.in: New file, generated by autoheader.
361 * interp.c: Include "config.h". Include <stdlib.h>, <string.h>,
362 and <strings.h> if they exist. Replace #ifdef sun with #ifdef
363 HAVE_ANINT and HAVE_AINT, as appropriate.
364 * Makefile.in (run): Use @LIBS@ rather than -lm.
365 (interp.o): Depend upon config.h.
366 (Makefile): Just rebuild Makefile.
367 (clean): Remove stamp-h.
368 (mostlyclean): Make the same as clean, not as distclean.
369 (config.h, stamp-h): New targets.
370
371 Fri May 10 00:41:17 1996 James G. Smith <jsmith@cygnus.co.uk>
372
373 * interp.c (ColdReset): Fix boolean test. Make all simulator
374 globals static.
375
376 Wed May 8 15:12:58 1996 James G. Smith <jsmith@cygnus.co.uk>
377
378 * interp.c (xfer_direct_word, xfer_direct_long,
379 swap_direct_word, swap_direct_long, xfer_big_word,
380 xfer_big_long, xfer_little_word, xfer_little_long,
381 swap_word,swap_long): Added.
382 * interp.c (ColdReset): Provide function indirection to
383 host<->simulated_target transfer routines.
384 * interp.c (sim_store_register, sim_fetch_register): Updated to
385 make use of indirected transfer routines.
386
387 Fri Apr 19 15:48:24 1996 James G. Smith <jsmith@cygnus.co.uk>
388
389 * gencode.c (process_instructions): Ensure FP ABS instruction
390 recognised.
391 * interp.c (AbsoluteValue): Add routine. Also provide simple PMON
392 system call support.
393
394 Wed Apr 10 09:51:38 1996 James G. Smith <jsmith@cygnus.co.uk>
395
396 * interp.c (sim_do_command): Complain if callback structure not
397 initialised.
398
399 Thu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk>
400
401 * interp.c (Convert): Provide round-to-nearest and round-to-zero
402 support for Sun hosts.
403 * Makefile.in (gencode): Ensure the host compiler and libraries
404 used for cross-hosted build.
405
406 Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>
407
408 * interp.c, gencode.c: Some more (TODO) tidying.
409
410 Thu Mar 7 11:19:33 1996 James G. Smith <jsmith@cygnus.co.uk>
411
412 * gencode.c, interp.c: Replaced explicit long long references with
413 WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
414 * support.h (SET64LO, SET64HI): Macros added.
415
416 Wed Feb 21 12:16:21 1996 Ian Lance Taylor <ian@cygnus.com>
417
418 * configure: Regenerate with autoconf 2.7.
419
420 Tue Jan 30 08:48:18 1996 Fred Fish <fnf@cygnus.com>
421
422 * interp.c (LoadMemory): Enclose text following #endif in /* */.
423 * support.h: Remove superfluous "1" from #if.
424 * support.h (CHECKSIM): Remove stray 'a' at end of line.
425
426 Mon Dec 4 11:44:40 1995 Jamie Smith <jsmith@cygnus.com>
427
428 * interp.c (StoreFPR): Control UndefinedResult() call on
429 WARN_RESULT manifest.
430
431 Fri Dec 1 16:37:19 1995 James G. Smith <jsmith@cygnus.co.uk>
432
433 * gencode.c: Tidied instruction decoding, and added FP instruction
434 support.
435
436 * interp.c: Added dineroIII, and BSD profiling support. Also
437 run-time FP handling.
438
439 Sun Oct 22 00:57:18 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
440
441 * Changelog, Makefile.in, README.Cygnus, configure, configure.in,
442 gencode.c, interp.c, support.h: created.
This page took 0.041611 seconds and 5 git commands to generate.