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