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