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