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