For NEC 4100/4300 project
[deliverable/binutils-gdb.git] / sim / mips / ChangeLog
1 Tue Dec 10 11:32:04 1996 Jim Wilson <wilson@cygnus.com>
2
3 * gencode.c (build_instruction, case JUMP): Truncate PC to 32 bits.
4 * interp.c (CHECKHILO): Define away.
5 (simSIGINT): New macro.
6 (membank_size): Increase from 1MB to 2MB.
7 (control_c): New function.
8 (sim_resume): Rename parameter signal to signal_number. Add local
9 variable prev. Call signal before and after simulate.
10 (sim_stop_reason): Add simSIGINT support.
11 (sim_warning, sim_error, dotrace, SignalException): Define as stdarg
12 functions always.
13 (sim_warning): Delete call to SignalException. Do call printf_filtered
14 if logfh is NULL.
15 (AddressTranslation): Add #ifdef DEBUG around debugging message and
16 a call to sim_warning.
17
18 Wed Nov 27 11:53:50 1996 Ian Lance Taylor <ian@cygnus.com>
19
20 * gencode.c (process_instructions): If ! proc64, skip DOUBLEWORD
21 16 bit instructions.
22
23 Tue Nov 26 11:53:12 1996 Ian Lance Taylor <ian@cygnus.com>
24
25 Add support for mips16 (16 bit MIPS implementation):
26 * gencode.c (inst_type): Add mips16 instruction encoding types.
27 (GETDATASIZEINSN): Define.
28 (MIPS_DECODE): Add REG flag to dsllv, dsrav, and dsrlv. Add
29 jalx. Add LEFT flag to mfhi and mflo. Add RIGHT flag to mthi and
30 mtlo.
31 (MIPS16_DECODE): New table, for mips16 instructions.
32 (bitmap_val): New static function.
33 (struct mips16_op): Define.
34 (mips16_op_table): New table, for mips16 operands.
35 (build_mips16_operands): New static function.
36 (process_instructions): If PC is odd, decode a mips16
37 instruction. Break out instruction handling into new
38 build_instruction function.
39 (build_instruction): New static function, broken out of
40 process_instructions. Check modifiers rather than flags for SHIFT
41 bit count and m[ft]{hi,lo} direction.
42 (usage): Pass program name to fprintf.
43 (main): Remove unused variable this_option_optind. Change
44 ``*loptarg++'' to ``loptarg++''.
45 (my_strtoul): Parenthesize && within ||.
46 * interp.c (LoadMemory): Accept a halfword pAddr if vAddr is odd.
47 (simulate): If PC is odd, fetch a 16 bit instruction, and
48 increment PC by 2 rather than 4.
49 * configure.in: Add case for mips16*-*-*.
50 * configure: Rebuild.
51
52 Fri Nov 22 08:49:36 1996 Mark Alexander <marka@cygnus.com>
53
54 * interp.c: Allow -t to enable tracing in standalone simulator.
55 Fix garbage output in trace file and error messages.
56
57 Wed Nov 20 01:54:37 1996 Doug Evans <dje@canuck.cygnus.com>
58
59 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
60 (SIM_{OBJS,EXTRA_CFLAGS,EXTRA_CLEAN}): Define.
61 * configure.in: Simplify using macros in ../common/aclocal.m4.
62 * configure: Regenerated.
63 * tconfig.in: New file.
64
65 Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com>
66
67 * interp.c: Fix bugs in 64-bit port.
68 Use ansi function declarations for msvc compiler.
69 Initialize and test file pointer in trace code.
70 Prevent duplicate definition of LAST_EMED_REGNUM.
71
72 Tue Oct 15 11:07:06 1996 Mark Alexander <marka@cygnus.com>
73
74 * interp.c (xfer_big_long): Prevent unwanted sign extension.
75
76 Thu Sep 26 17:35:00 1996 James G. Smith <jsmith@cygnus.co.uk>
77
78 * interp.c (SignalException): Check for explicit terminating
79 breakpoint value.
80 * gencode.c: Pass instruction value through SignalException()
81 calls for Trap, Breakpoint and Syscall.
82
83 Thu Sep 26 11:35:17 1996 James G. Smith <jsmith@cygnus.co.uk>
84
85 * interp.c (SquareRoot): Add HAVE_SQRT check to ensure sqrt() is
86 only used on those hosts that provide it.
87 * configure.in: Add sqrt() to list of functions to be checked for.
88 * config.in: Re-generated.
89 * configure: Re-generated.
90
91 Fri Sep 20 15:47:12 1996 Ian Lance Taylor <ian@cygnus.com>
92
93 * gencode.c (process_instructions): Call build_endian_shift when
94 expanding STORE RIGHT, to fix swr.
95 * support.h (SIGNEXTEND): If the sign bit is not set, explicitly
96 clear the high bits.
97 * interp.c (Convert): Fix fmt_single to fmt_long to not truncate.
98 Fix float to int conversions to produce signed values.
99
100 Thu Sep 19 15:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
101
102 * gencode.c (MIPS_DECODE): Set UNSIGNED for multu instruction.
103 (process_instructions): Correct handling of nor instruction.
104 Correct shift count for 32 bit shift instructions. Correct sign
105 extension for arithmetic shifts to not shift the number of bits in
106 the type. Fix 64 bit multiply high word calculation. Fix 32 bit
107 unsigned multiply. Fix ldxc1 and friends to use coprocessor 1.
108 Fix madd.
109 * interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC.
110 It's OK to have a mult follow a mult. What's not OK is to have a
111 mult follow an mfhi.
112 (Convert): Comment out incorrect rounding code.
113
114 Mon Sep 16 11:38:16 1996 James G. Smith <jsmith@cygnus.co.uk>
115
116 * interp.c (sim_monitor): Improved monitor printf
117 simulation. Tidied up simulator warnings, and added "--log" option
118 for directing warning message output.
119 * gencode.c: Use sim_warning() rather than WARNING macro.
120
121 Thu Aug 22 15:03:12 1996 Ian Lance Taylor <ian@cygnus.com>
122
123 * Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
124 getopt1.o, rather than on gencode.c. Link objects together.
125 Don't link against -liberty.
126 (gencode.o, getopt.o, getopt1.o): New targets.
127 * gencode.c: Include <ctype.h> and "ansidecl.h".
128 (AND): Undefine after including "ansidecl.h".
129 (ULONG_MAX): Define if not defined.
130 (OP_*): Don't define macros; now defined in opcode/mips.h.
131 (main): Call my_strtoul rather than strtoul.
132 (my_strtoul): New static function.
133
134 Wed Jul 17 18:12:38 1996 Stu Grossman (grossman@critters.cygnus.com)
135
136 * gencode.c (process_instructions): Generate word64 and uword64
137 instead of `long long' and `unsigned long long' data types.
138 * interp.c: #include sysdep.h to get signals, and define default
139 for SIGBUS.
140 * (Convert): Work around for Visual-C++ compiler bug with type
141 conversion.
142 * support.h: Make things compile under Visual-C++ by using
143 __int64 instead of `long long'. Change many refs to long long
144 into word64/uword64 typedefs.
145
146 Wed Jun 26 12:24:55 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
147
148 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
149 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
150 (docdir): Removed.
151 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
152 (AC_PROG_INSTALL): Added.
153 (AC_PROG_CC): Moved to before configure.host call.
154 * configure: Rebuilt.
155
156 Wed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk>
157
158 * configure.in: Define @SIMCONF@ depending on mips target.
159 * configure: Rebuild.
160 * Makefile.in (run): Add @SIMCONF@ to control simulator
161 construction.
162 * gencode.c: Change LOADDRMASK to 64bit memory model only.
163 * interp.c: Remove some debugging, provide more detailed error
164 messages, update memory accesses to use LOADDRMASK.
165
166 Mon Jun 3 11:55:03 1996 Ian Lance Taylor <ian@cygnus.com>
167
168 * configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,
169 AC_CHECK_LIB, and AC_CHECK_FUNCS. Change AC_OUTPUT to set
170 stamp-h.
171 * configure: Rebuild.
172 * config.in: New file, generated by autoheader.
173 * interp.c: Include "config.h". Include <stdlib.h>, <string.h>,
174 and <strings.h> if they exist. Replace #ifdef sun with #ifdef
175 HAVE_ANINT and HAVE_AINT, as appropriate.
176 * Makefile.in (run): Use @LIBS@ rather than -lm.
177 (interp.o): Depend upon config.h.
178 (Makefile): Just rebuild Makefile.
179 (clean): Remove stamp-h.
180 (mostlyclean): Make the same as clean, not as distclean.
181 (config.h, stamp-h): New targets.
182
183 Fri May 10 00:41:17 1996 James G. Smith <jsmith@cygnus.co.uk>
184
185 * interp.c (ColdReset): Fix boolean test. Make all simulator
186 globals static.
187
188 Wed May 8 15:12:58 1996 James G. Smith <jsmith@cygnus.co.uk>
189
190 * interp.c (xfer_direct_word, xfer_direct_long,
191 swap_direct_word, swap_direct_long, xfer_big_word,
192 xfer_big_long, xfer_little_word, xfer_little_long,
193 swap_word,swap_long): Added.
194 * interp.c (ColdReset): Provide function indirection to
195 host<->simulated_target transfer routines.
196 * interp.c (sim_store_register, sim_fetch_register): Updated to
197 make use of indirected transfer routines.
198
199 Fri Apr 19 15:48:24 1996 James G. Smith <jsmith@cygnus.co.uk>
200
201 * gencode.c (process_instructions): Ensure FP ABS instruction
202 recognised.
203 * interp.c (AbsoluteValue): Add routine. Also provide simple PMON
204 system call support.
205
206 Wed Apr 10 09:51:38 1996 James G. Smith <jsmith@cygnus.co.uk>
207
208 * interp.c (sim_do_command): Complain if callback structure not
209 initialised.
210
211 Thu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk>
212
213 * interp.c (Convert): Provide round-to-nearest and round-to-zero
214 support for Sun hosts.
215 * Makefile.in (gencode): Ensure the host compiler and libraries
216 used for cross-hosted build.
217
218 Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>
219
220 * interp.c, gencode.c: Some more (TODO) tidying.
221
222 Thu Mar 7 11:19:33 1996 James G. Smith <jsmith@cygnus.co.uk>
223
224 * gencode.c, interp.c: Replaced explicit long long references with
225 WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
226 * support.h (SET64LO, SET64HI): Macros added.
227
228 Wed Feb 21 12:16:21 1996 Ian Lance Taylor <ian@cygnus.com>
229
230 * configure: Regenerate with autoconf 2.7.
231
232 Tue Jan 30 08:48:18 1996 Fred Fish <fnf@cygnus.com>
233
234 * interp.c (LoadMemory): Enclose text following #endif in /* */.
235 * support.h: Remove superfluous "1" from #if.
236 * support.h (CHECKSIM): Remove stray 'a' at end of line.
237
238 Mon Dec 4 11:44:40 1995 Jamie Smith <jsmith@cygnus.com>
239
240 * interp.c (StoreFPR): Control UndefinedResult() call on
241 WARN_RESULT manifest.
242
243 Fri Dec 1 16:37:19 1995 James G. Smith <jsmith@cygnus.co.uk>
244
245 * gencode.c: Tidied instruction decoding, and added FP instruction
246 support.
247
248 * interp.c: Added dineroIII, and BSD profiling support. Also
249 run-time FP handling.
250
251 Sun Oct 22 00:57:18 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
252
253 * Changelog, Makefile.in, README.Cygnus, configure, configure.in,
254 gencode.c, interp.c, support.h: created.
This page took 0.043137 seconds and 5 git commands to generate.