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