Add support for 16 byte quantities to sim-endian macro H2T.
[deliverable/binutils-gdb.git] / sim / mips / ChangeLog
1 Tue Oct 28 11:06:47 1997 Andrew Cagney <cagney@b1.cygnus.com>
2
3 * mips.igen: Add model filter field to records.
4
5 Mon Oct 27 17:53:59 1997 Andrew Cagney <cagney@b1.cygnus.com>
6
7 * Makefile.in (SIM_NO_CFLAGS): Define. Define WITH_IGEN=0.
8
9 interp.c (sim_engine_run): Do not compile function sim_engine_run
10 when WITH_IGEN == 1.
11
12 * configure.in (sim_igen_flags, sim_m16_flags): Set according to
13 target architecture.
14
15 Makefile.in (tmp-igen, tmp-m16): Drop -F and -M options to
16 igen. Replace with configuration variables sim_igen_flags /
17 sim_m16_flags.
18
19 end-sanitize-v5900
20 * r5900.igen: New file. Copy v5900 insns here.
21 start-sanitize-r5900
22 end-sanitize-v5400
23 * vr5400.igen: New file.
24 start-sanitize-vr5400
25 * m16.igen: New file. Copy mips16 insns here.
26 * mips.igen: From here.
27
28 Mon Oct 27 13:53:59 1997 Andrew Cagney <cagney@b1.cygnus.com>
29
30 start-sanitize-vr5400
31 * mips.igen: Tag all mipsIV instructions with vr5400 model.
32
33 * configure.in: Add mips64vr5400 target.
34 * configure: Re-generate.
35
36 end-sanitize-vr5400
37 * Makefile.in (SIM_NO_OBJ): Define, move SIM_M16_OBJ, SIM_IGEN_OBJ
38 to top.
39 (tmp-igen, tmp-m16): Pass -I srcdir to igen.
40
41 Sat Oct 25 16:51:40 1997 Gavin Koch <gavin@cygnus.com>
42
43 * gencode.c (build_instruction): Follow sim_write's lead in using
44 BigEndianMem instead of !ByteSwapMem.
45
46 Fri Oct 24 17:41:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
47
48 * configure.in (sim_gen): Dependent on target, select type of
49 generator. Always select old style generator.
50
51 configure: Re-generate.
52
53 Makefile.in (tmp-igen, tmp-m16, clean-m16, clean-igen): New
54 targets.
55 (SIM_M16_CFLAGS, SIM_M16_ALL, SIM_M16_OBJ, BUILT_SRC_FROM_M16,
56 SIM_IGEN_CFLAGS, SIM_IGEN_ALL, SIM_IGEN_OBJ, BUILT_SRC_FROM_IGEN,
57 IGEN_TRACE, IGEN_INSN, IGEN_DC): Define
58 (SIM_EXTRA_CFLAGS, SIM_EXTRA_ALL, SIM_OBJS): Add member
59 SIM_@sim_gen@_*, set by autoconf.
60
61 Wed Oct 22 12:52:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
62
63 * sim-main.h (NULLIFY_NEXT_INSTRUCTION, DELAY_SLOT): Define.
64
65 * interp.c (ColdReset): Remove #ifdef HASFPU, check
66 CURRENT_FLOATING_POINT instead.
67
68 * interp.c (ifetch32): New function. Fetch 32 bit instruction.
69 (address_translation): Raise exception InstructionFetch when
70 translation fails and isINSTRUCTION.
71
72 * interp.c (sim_open, sim_write, sim_monitor, store_word,
73 sim_engine_run): Change type of of vaddr and paddr to
74 address_word.
75 (address_translation, prefetch, load_memory, store_memory,
76 cache_op): Change type of vAddr and pAddr to address_word.
77
78 * gencode.c (build_instruction): Change type of vaddr and paddr to
79 address_word.
80
81 Mon Oct 20 15:29:04 1997 Andrew Cagney <cagney@b1.cygnus.com>
82
83 * sim-main.h (ALU64_END, ALU32_END): Use ALU*_OVERFLOW_RESULT
84 macro to obtain result of ALU op.
85
86 Tue Oct 21 17:39:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
87
88 * interp.c (sim_info): Call profile_print.
89
90 Mon Oct 20 13:31:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
91
92 * Makefile.in (SIM_OBJS): Add sim-profile.o module.
93
94 * sim-main.h (WITH_PROFILE): Do not define, defined in
95 common/sim-config.h. Use sim-profile module.
96 (simPROFILE): Delete defintion.
97
98 * interp.c (PROFILE): Delete definition.
99 (mips_option_handler): Delete 'p', 'y' and 'x' profile options.
100 (sim_close): Delete code writing profile histogram.
101 (mips_set_profile, mips_set_profile_size, writeout16, writeout32):
102 Delete.
103 (sim_engine_run): Delete code profiling the PC.
104
105 Mon Oct 20 13:31:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
106
107 * sim-main.h (SIGNEXTEND): Force type of result to unsigned_word.
108
109 * interp.c (sim_monitor): Make register pointers of type
110 unsigned_word*.
111
112 * sim-main.h: Make registers of type unsigned_word not
113 signed_word.
114
115 Thu Oct 16 10:31:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
116
117 start-sanitize-r5900
118 * sim-main.h (BYTES_IN_MMI_REGS, ..., SUB_REG_FETCH, ..., GPR_SB,
119 ...): Move to sim-main.h
120
121 end-sanitize-r5900
122 * interp.c (sync_operation): Rename from SyncOperation, make
123 global, add SD argument.
124 (prefetch): Rename from Prefetch, make global, add SD argument.
125 (decode_coproc): Make global.
126
127 * sim-main.h (SyncOperation, DecodeCoproc, Pefetch): Define.
128
129 * gencode.c (build_instruction): Generate DecodeCoproc not
130 decode_coproc calls.
131
132 * interp.c (SETFCC, GETFCC, PREVCOC1): Move to sim-main.h
133 (SizeFGR): Move to sim-main.h
134 (simHALTEX, simHALTIN, simTRACE, simPROFILE, simDELAYSLOT,
135 simSIGINT, simJALDELAYSLOT): Move to sim-main.h
136 (FP_FLAGS, FP_ENABLE, FP_CAUSE, IR, UF, OF, DZ, IO, UO): Move to
137 sim-main.h.
138 (FP_FS, FP_MASK_RM, FP_SH_RM, FP_RM_NEAREST, FP_RM_TOPINF,
139 FP_RM_TOMINF, GETRM): Move to sim-main.h.
140 (Uncached, CachedNoncoherent, CachedCoherent, Cached,
141 isINSTRUCTION, ..., AccessLength_BYTE, ...): Move to sim-main.h.
142 (UserMode, BigEndianMem, ByteSwapMem, ReverseEndian,
143 BigEndianCPU, status_KSU_mask, ...). Moved to sim-main.h
144
145 * sim-main.h (ALU32_END, ALU64_END): Define. When overflow raise
146 exception.
147 (sim-alu.h): Include.
148 (NULLIFY_NIA, NULL_CIA, CPU_CIA): Define.
149 (sim_cia): Typedef to instruction_address.
150
151 Thu Oct 16 10:31:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
152
153 * Makefile.in (interp.o): Rename generated file engine.c to
154 oengine.c.
155
156 * interp.c: Update.
157
158 Thu Oct 16 10:31:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
159
160 * gencode.c (build_instruction): Use FPR_STATE not fpr_state.
161
162 Thu Oct 16 10:31:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
163
164 * gencode.c (build_instruction): For "FPSQRT", output correct
165 number of arguments to Recip.
166
167 Tue Oct 14 17:38:18 1997 Andrew Cagney <cagney@b1.cygnus.com>
168
169 * Makefile.in (interp.o): Depends on sim-main.h
170
171 * interp.c (mips16_entry, ColdReset,dotrace): Add SD argument. Use GPR not registers.
172
173 * sim-main.h (sim_cpu): Add registers, register_widths, fpr_state,
174 ipc, dspc, pending_*, hiaccess, loaccess, state, dsstate fields.
175 (REGISTERS, REGISTER_WIDTHS, FPR_STATE, IPC, DSPC, PENDING_*,
176 STATE, DSSTATE): Define
177 (GPR, FGRIDX, ..): Define.
178
179 * interp.c (registers, register_widths, fpr_state, ipc, dspc,
180 pending_*, hiaccess, loaccess, state, dsstate): Delete globals.
181 (GPR, FGRIDX, ...): Delete macros.
182
183 * interp.c: Update names to match defines from sim-main.h
184
185 Tue Oct 14 15:11:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
186
187 * interp.c (sim_monitor): Add SD argument.
188 (sim_warning): Delete. Replace calls with calls to
189 sim_io_eprintf.
190 (sim_error): Delete. Replace calls with sim_io_error.
191 (open_trace, writeout32, writeout16, getnum): Add SD argument.
192 (mips_set_profile): Rename from sim_set_profile. Add SD argument.
193 (mips_set_profile_size): Rename from sim_set_profile_size. Add SD
194 argument.
195 (mips_size): Rename from sim_size. Add SD argument.
196
197 * interp.c (simulator): Delete global variable.
198 (callback): Delete global variable.
199 (mips_option_handler, sim_open, sim_write, sim_read,
200 sim_store_register, sim_fetch_register, sim_info, sim_do_command,
201 sim_size,sim_monitor): Use sim_io_* not callback->*.
202 (sim_open): ZALLOC simulator struct.
203 (PROFILE): Do not define.
204
205 Tue Oct 14 13:35:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
206
207 * interp.c (sim_open), support.h: Replace CHECKSIM macro found in
208 support.h with corresponding code.
209
210 * sim-main.h (word64, uword64), support.h: Move definition to
211 sim-main.h.
212 (WORD64LO, WORD64HI, SET64LO, SET64HI, WORD64, UWORD64): Ditto.
213
214 * support.h: Delete
215 * Makefile.in: Update dependencies
216 * interp.c: Do not include.
217
218 Tue Oct 14 13:35:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
219
220 * interp.c (address_translation, load_memory, store_memory,
221 cache_op): Rename to from AddressTranslation et.al., make global,
222 add SD argument
223
224 * sim-main.h (AddressTranslation, LoadMemory, StoreMemory,
225 CacheOp): Define.
226
227 * interp.c (SignalException): Rename to signal_exception, make
228 global.
229
230 * interp.c (Interrupt, ...): Move definitions to sim-main.h.
231
232 * sim-main.h (SignalException, SignalExceptionInterrupt,
233 SignalExceptionInstructionFetch, SignalExceptionAddressStore,
234 SignalExceptionAddressLoad, SignalExceptionSimulatorFault,
235 SignalExceptionIntegerOverflow, SignalExceptionCoProcessorUnusable):
236 Define.
237
238 * interp.c, support.h: Use.
239
240 Tue Oct 14 13:19:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
241
242 * interp.c (ValueFPR, StoreFPR), sim-main.h: Make global, rename
243 to value_fpr / store_fpr. Add SD argument.
244 (NaN, Infinity, Less, Equal, AbsoluteValue, Negate, Add, Sub,
245 Multiply, Divide, Recip, SquareRoot, Convert): Make global.
246
247 * sim-main.h (ValueFPR, StoreFPR): Define.
248
249 Tue Oct 14 13:06:55 1997 Andrew Cagney <cagney@b1.cygnus.com>
250
251 * interp.c (sim_engine_run): Check consistency between configure
252 WITH_TARGET_WORD_BITSIZE and WITH_FLOATING_POINT and gensim GPRLEN
253 and HASFPU.
254
255 * configure.in (mips_bitsize): Configure WITH_TARGET_WORD_BITSIZE.
256 (mips_fpu): Configure WITH_FLOATING_POINT.
257 (mips_endian): Configure WITH_TARGET_ENDIAN.
258 * configure: Update.
259
260 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
261
262 * configure: Regenerated to track ../common/aclocal.m4 changes.
263
264 start-sanitize-r5900
265 Mon Aug 25 19:11:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
266
267 * interp.c (MAX_REG): Allow up-to 128 registers.
268 (LO1, HI1): Define value that matches REGISTER_NAMES in gdb.
269 (REGISTER_SA): Ditto.
270 (sim_open): Initialize register_widths for r5900 specific
271 registers.
272 (sim_fetch_register, sim_store_register): Check for request of
273 r5900 specific SA register. Check for request for hi 64 bits of
274 r5900 specific registers.
275
276 end-sanitize-r5900
277 Mon Sep 29 14:45:00 1997 Bob Manson <manson@charmed.cygnus.com>
278
279 * configure: Regenerated.
280
281 Fri Sep 26 12:48:18 1997 Mark Alexander <marka@cygnus.com>
282
283 * interp.c: Allow Debug, DEPC, and EPC registers to be examined in GDB.
284
285 Thu Sep 25 11:15:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
286
287 * gencode.c (print_igen_insn_models): Assume certain architectures
288 include all mips* instructions.
289 (print_igen_insn_format): Use data_size==-1 as marker for MIPS16
290 instruction.
291
292 * Makefile.in (tmp.igen): Add target. Generate igen input from
293 gencode file.
294
295 * gencode.c (FEATURE_IGEN): Define.
296 (main): Add --igen option. Generate output in igen format.
297 (process_instructions): Format output according to igen option.
298 (print_igen_insn_format): New function.
299 (print_igen_insn_models): New function.
300 (process_instructions): Only issue warnings and ignore
301 instructions when no FEATURE_IGEN.
302
303 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
304
305 * interp.c (COP_SD, COP_LD): Add UNUSED to pacify GCC for some
306 MIPS targets.
307
308 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
309
310 * configure: Regenerated to track ../common/aclocal.m4 changes.
311
312 Tue Sep 23 10:19:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
313
314 * Makefile.in (SIM_ALIGNMENT, SIM_ENDIAN, SIM_HOSTENDIAN,
315 SIM_RESERVED_BITS): Delete, moved to common.
316 (SIM_EXTRA_CFLAGS): Update.
317
318 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
319
320 * configure.in: Configure non-strict memory alignment.
321 * configure: Regenerated to track ../common/aclocal.m4 changes.
322
323 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
324
325 * configure: Regenerated to track ../common/aclocal.m4 changes.
326
327 Sat Sep 20 14:07:28 1997 Gavin Koch <gavin@cygnus.com>
328
329 * gencode.c (SDBBP,DERET): Added (3900) insns.
330 (RFE): Turn on for 3900.
331 * interp.c (DebugBreakPoint,DEPC,Debug,Debug_*): Added.
332 (dsstate): Made global.
333 (SUBTARGET_R3900): Added.
334 (CANCELDELAYSLOT): New.
335 (SignalException): Ignore SystemCall rather than ignore and
336 terminate. Add DebugBreakPoint handling.
337 (decode_coproc): New insns RFE, DERET; and new registers Debug
338 and DEPC protected by SUBTARGET_R3900.
339 (sim_engine_run): Use CANCELDELAYSLOT rather than clearing
340 bits explicitly.
341 * Makefile.in,configure.in: Add mips subtarget option.
342 * configure: Update.
343
344 Fri Sep 19 09:33:27 1997 Gavin Koch <gavin@cygnus.com>
345
346 * gencode.c: Add r3900 (tx39).
347
348 start-sanitize-tx19
349 * gencode.c: Fix some configuration problems by improving
350 the relationship between tx19 and tx39.
351 end-sanitize-tx19
352
353 Tue Sep 16 15:52:04 1997 Gavin Koch <gavin@cygnus.com>
354
355 * gencode.c (build_instruction): Don't need to subtract 4 for
356 JALR, just 2.
357
358 Tue Sep 16 11:32:28 1997 Gavin Koch <gavin@cygnus.com>
359
360 * interp.c: Correct some HASFPU problems.
361
362 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
363
364 * configure: Regenerated to track ../common/aclocal.m4 changes.
365
366 Fri Sep 12 12:01:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
367
368 * interp.c (mips_options): Fix samples option short form, should
369 be `x'.
370
371 Thu Sep 11 09:35:29 1997 Andrew Cagney <cagney@b1.cygnus.com>
372
373 * interp.c (sim_info): Enable info code. Was just returning.
374
375 Tue Sep 9 17:30:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
376
377 * interp.c (decode_coproc): Clarify warning about unsuported MTC0,
378 MFC0.
379
380 Tue Sep 9 16:28:28 1997 Andrew Cagney <cagney@b1.cygnus.com>
381
382 * gencode.c (build_instruction): Use SIGNED64 for 64 bit
383 constants.
384 (build_instruction): Ditto for LL.
385
386 start-sanitize-tx19
387 Sun Sep 7 16:05:46 1997 Gavin Koch <gavin@cygnus.com>
388
389 * mips/configure.in, mips/gencode: Add tx19/r1900.
390
391 end-sanitize-tx19
392 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
393
394 * configure: Regenerated to track ../common/aclocal.m4 changes.
395
396 start-sanitize-r5900
397 Mon Sep 1 18:43:30 1997 Andrew Cagney <cagney@b1.cygnus.com>
398
399 * gencode.c (build_instruction): For "pabsw" and "pabsh", check
400 for overflow due to ABS of MININT, set result to MAXINT.
401 (build_instruction): For "psrlvw", signextend bit 31.
402
403 end-sanitize-r5900
404 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
405
406 * configure: Regenerated to track ../common/aclocal.m4 changes.
407 * config.in: Ditto.
408
409 Wed Aug 27 14:12:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
410
411 * interp.c (sim_open): Add call to sim_analyze_program, update
412 call to sim_config.
413
414 Tue Aug 26 10:40:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
415
416 * interp.c (sim_kill): Delete.
417 (sim_create_inferior): Add ABFD argument. Set PC from same.
418 (sim_load): Move code initializing trap handlers from here.
419 (sim_open): To here.
420 (sim_load): Delete, use sim-hload.c.
421
422 * Makefile.in (SIM_OBJS): Add sim-hload.o module.
423
424 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
425
426 * configure: Regenerated to track ../common/aclocal.m4 changes.
427 * config.in: Ditto.
428
429 Mon Aug 25 15:59:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
430
431 * interp.c (sim_open): Add ABFD argument.
432 (sim_load): Move call to sim_config from here.
433 (sim_open): To here. Check return status.
434
435 start-sanitize-r5900
436 * gencode.c (build_instruction): Do not define x8000000000000000,
437 x7FFFFFFFFFFFFFFF, or xFFFFFFFF80000000.
438
439 end-sanitize-r5900
440 start-sanitize-r5900
441 Mon Jul 28 19:49:29 1997 Andrew Cagney <cagney@b1.cygnus.com>
442
443 * gencode.c (build_instruction): For "pdivw", "pdivbw" and
444 "pdivuw" check for overflow due to signed divide by -1.
445
446 end-sanitize-r5900
447 Fri Jul 25 15:00:45 1997 Gavin Koch <gavin@cygnus.com>
448
449 * gencode.c (build_instruction): Two arg MADD should
450 not assign result to $0.
451
452 start-sanitize-r5900
453 Thu Jul 10 11:58:48 1997 Andrew Cagney <cagney@critters.cygnus.com>
454
455 * gencode.c (build_instruction): For "ppac5" use unsigned
456 arrithmetic so that the sign bit doesn't smear when right shifted.
457 (build_instruction): For "pdiv" perform sign extension when
458 storing results in HI and LO.
459 (build_instructions): For "pdiv" and "pdivbw" check for
460 divide-by-zero.
461 (build_instruction): For "pmfhl.slw" update hi part of dest
462 register as well as low part.
463 (build_instruction): For "pmfhl" portably handle long long values.
464 (build_instruction): For "pmfhl.sh" correctly negative values.
465 Store half words 2 and three in the correct place.
466 (build_instruction): For "psllvw", sign extend value after shift.
467
468 end-sanitize-r5900
469 Thu Jun 26 12:13:17 1997 Angela Marie Thomas (angela@cygnus.com)
470
471 * sim/mips/configure: Change default_sim_endian to 0 (bi-endian)
472 * sim/mips/configure.in: Regenerate.
473
474 Wed Jul 9 10:29:21 1997 Andrew Cagney <cagney@critters.cygnus.com>
475
476 * interp.c (SUB_REG_UW, SUB_REG_SW, SUB_REG_*): Use more explicit
477 signed8, unsigned8 et.al. types.
478
479 start-sanitize-r5900
480 * gencode.c (build_instruction): For PMULTU* do not sign extend
481 registers. Make generated code easier to debug.
482
483 end-sanitize-r5900
484 * interp.c (SUB_REG_FETCH): Handle both little and big endian
485 hosts when selecting subreg.
486
487 start-sanitize-r5900
488 Tue Jul 8 18:07:20 1997 Andrew Cagney <cagney@andros.cygnus.com>
489
490 * gencode.c (type_for_data_len): For 32bit operations concerned
491 with overflow, perform op using 64bits.
492 (build_instruction): For PADD, always compute operation using type
493 returned by type_for_data_len.
494 (build_instruction): For PSUBU, when overflow, saturate to zero as
495 actually underflow.
496
497 end-sanitize-r5900
498 Wed Jul 2 11:54:10 1997 Jeffrey A Law (law@cygnus.com)
499
500 start-sanitize-r5900
501 * gencode.c (build_instruction): Handle "pext5" according to
502 version 1.95 of the r5900 ISA.
503
504 * gencode.c (build_instruction): Handle "ppac5" according to
505 version 1.95 of the r5900 ISA.
506
507 end-sanitize-r5900
508 * interp.c (sim_engine_run): Reset the ZERO register to zero
509 regardless of FEATURE_WARN_ZERO.
510 * gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO.
511
512 Wed Jun 4 10:43:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
513
514 * interp.c (decode_coproc): Implement MTC0 N, CAUSE.
515 (SignalException): For BreakPoints ignore any mode bits and just
516 save the PC.
517 (SignalException): Always set the CAUSE register.
518
519 Tue Jun 3 05:00:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
520
521 * interp.c (SignalException): Clear the simDELAYSLOT flag when an
522 exception has been taken.
523
524 * interp.c: Implement the ERET and mt/f sr instructions.
525
526 start-sanitize-r5900
527 Mon Jun 2 23:28:19 1997 Andrew Cagney <cagney@b1.cygnus.com>
528
529 * gencode.c (build_instruction): For paddu, extract unsigned
530 sub-fields.
531
532 * gencode.c (build_instruction): Saturate padds instead of padd
533 instructions.
534
535 end-sanitize-r5900
536 Sat May 31 00:44:16 1997 Andrew Cagney <cagney@b1.cygnus.com>
537
538 * interp.c (SignalException): Don't bother restarting an
539 interrupt.
540
541 Fri May 30 23:41:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
542
543 * interp.c (SignalException): Really take an interrupt.
544 (interrupt_event): Only deliver interrupts when enabled.
545
546 Tue May 27 20:08:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
547
548 * interp.c (sim_info): Only print info when verbose.
549 (sim_info) Use sim_io_printf for output.
550
551 Tue May 27 14:22:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
552
553 * interp.c (CoProcPresent): Add UNUSED attribute - not used by all
554 mips architectures.
555
556 Tue May 27 14:22:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
557
558 * interp.c (sim_do_command): Check for common commands if a
559 simulator specific command fails.
560
561 Thu May 22 09:32:03 1997 Gavin Koch <gavin@cygnus.com>
562
563 * interp.c (sim_engine_run): ifdef out uses of simSTOP, simSTEP
564 and simBE when DEBUG is defined.
565
566 Wed May 21 09:08:10 1997 Andrew Cagney <cagney@b1.cygnus.com>
567
568 * interp.c (interrupt_event): New function. Pass exception event
569 onto exception handler.
570
571 * configure.in: Check for stdlib.h.
572 * configure: Regenerate.
573
574 * gencode.c (build_instruction): Add UNUSED attribute to tempS
575 variable declaration.
576 (build_instruction): Initialize memval1.
577 (build_instruction): Add UNUSED attribute to byte, bigend,
578 reverse.
579 (build_operands): Ditto.
580
581 * interp.c: Fix GCC warnings.
582 (sim_get_quit_code): Delete.
583
584 * configure.in: Add INLINE, ENDIAN, HOSTENDIAN and WARNINGS.
585 * Makefile.in: Ditto.
586 * configure: Re-generate.
587
588 * Makefile.in (SIM_OBJS): Add sim-watch.o module.
589
590 Tue May 20 15:08:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
591
592 * interp.c (mips_option_handler): New function parse argumes using
593 sim-options.
594 (myname): Replace with STATE_MY_NAME.
595 (sim_open): Delete check for host endianness - performed by
596 sim_config.
597 (simHOSTBE, simBE): Delete, replaced by sim-endian flags.
598 (sim_open): Move much of the initialization from here.
599 (sim_load): To here. After the image has been loaded and
600 endianness set.
601 (sim_open): Move ColdReset from here.
602 (sim_create_inferior): To here.
603 (sim_open): Make FP check less dependant on host endianness.
604
605 * Makefile.in (SIM_RUN_OBJS): Set to nrun.o - use new version or
606 run.
607 * interp.c (sim_set_callbacks): Delete.
608
609 * interp.c (membank, membank_base, membank_size): Replace with
610 STATE_MEMORY, STATE_MEM_SIZE, STATE_MEM_BASE.
611 (sim_open): Remove call to callback->init. gdb/run do this.
612
613 * interp.c: Update
614
615 * sim-main.h (SIM_HAVE_FLATMEM): Define.
616
617 * interp.c (big_endian_p): Delete, replaced by
618 current_target_byte_order.
619
620 Tue May 20 13:55:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
621
622 * interp.c (host_read_long, host_read_word, host_swap_word,
623 host_swap_long): Delete. Using common sim-endian.
624 (sim_fetch_register, sim_store_register): Use H2T.
625 (pipeline_ticks): Delete. Handled by sim-events.
626 (sim_info): Update.
627 (sim_engine_run): Update.
628
629 Tue May 20 13:42:03 1997 Andrew Cagney <cagney@b1.cygnus.com>
630
631 * interp.c (sim_stop_reason): Move code determining simEXCEPTION
632 reason from here.
633 (SignalException): To here. Signal using sim_engine_halt.
634 (sim_stop_reason): Delete, moved to common.
635
636 Tue May 20 10:19:48 1997 Andrew Cagney <cagney@b2.cygnus.com>
637
638 * interp.c (sim_open): Add callback argument.
639 (sim_set_callbacks): Delete SIM_DESC argument.
640 (sim_size): Ditto.
641
642 Mon May 19 18:20:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
643
644 * Makefile.in (SIM_OBJS): Add common modules.
645
646 * interp.c (sim_set_callbacks): Also set SD callback.
647 (set_endianness, xfer_*, swap_*): Delete.
648 (host_read_word, host_read_long, host_swap_word, host_swap_long):
649 Change to functions using sim-endian macros.
650 (control_c, sim_stop): Delete, use common version.
651 (simulate): Convert into.
652 (sim_engine_run): This function.
653 (sim_resume): Delete.
654
655 * interp.c (simulation): New variable - the simulator object.
656 (sim_kind): Delete global - merged into simulation.
657 (sim_load): Cleanup. Move PC assignment from here.
658 (sim_create_inferior): To here.
659
660 * sim-main.h: New file.
661 * interp.c (sim-main.h): Include.
662
663 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
664
665 * configure: Regenerated to track ../common/aclocal.m4 changes.
666
667 Wed Apr 23 17:32:19 1997 Doug Evans <dje@canuck.cygnus.com>
668
669 * tconfig.in (SIM_HAVE_BIENDIAN): Define.
670
671 Mon Apr 21 17:16:13 1997 Gavin Koch <gavin@cygnus.com>
672
673 * gencode.c (build_instruction): DIV instructions: check
674 for division by zero and integer overflow before using
675 host's division operation.
676
677 Thu Apr 17 03:18:14 1997 Doug Evans <dje@canuck.cygnus.com>
678
679 * Makefile.in (SIM_OBJS): Add sim-load.o.
680 * interp.c: #include bfd.h.
681 (target_byte_order): Delete.
682 (sim_kind, myname, big_endian_p): New static locals.
683 (sim_open): Set sim_kind, myname. Move call to set_endianness to
684 after argument parsing. Recognize -E arg, set endianness accordingly.
685 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
686 load file into simulator. Set PC from bfd.
687 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
688 (set_endianness): Use big_endian_p instead of target_byte_order.
689
690 Wed Apr 16 17:55:37 1997 Andrew Cagney <cagney@b1.cygnus.com>
691
692 * interp.c (sim_size): Delete prototype - conflicts with
693 definition in remote-sim.h. Correct definition.
694
695 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
696
697 * configure: Regenerated to track ../common/aclocal.m4 changes.
698 * config.in: Ditto.
699
700 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
701
702 * interp.c (sim_open): New arg `kind'.
703
704 * configure: Regenerated to track ../common/aclocal.m4 changes.
705
706 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
707
708 * configure: Regenerated to track ../common/aclocal.m4 changes.
709
710 Tue Mar 25 11:38:22 1997 Doug Evans <dje@canuck.cygnus.com>
711
712 * interp.c (sim_open): Set optind to 0 before calling getopt.
713
714 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
715
716 * configure: Regenerated to track ../common/aclocal.m4 changes.
717
718 Mon Mar 17 10:52:59 1997 Gavin Koch <gavin@cetus.cygnus.com>
719
720 * interp.c : Replace uses of pr_addr with pr_uword64
721 where the bit length is always 64 independent of SIM_ADDR.
722 (pr_uword64) : added.
723
724 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
725
726 * configure: Re-generate.
727
728 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
729
730 * configure: Regenerate to track ../common/aclocal.m4 changes.
731
732 Thu Mar 13 12:51:36 1997 Doug Evans <dje@canuck.cygnus.com>
733
734 * interp.c (sim_open): New SIM_DESC result. Argument is now
735 in argv form.
736 (other sim_*): New SIM_DESC argument.
737
738 start-sanitize-r5900
739 Wed Feb 26 18:32:21 1997 Gavin Koch <gavin@cygnus.com>
740
741 * gencode.c (POP_AND,POP_OR,POP_NOR,POP_XOR):
742 Change values to avoid overloading DOUBLEWORD which is tested
743 for all insns.
744 * gencode.c: reinstate "offending code".
745
746 end-sanitize-r5900
747 Mon Feb 24 22:47:14 1997 Dawn Perchik <dawn@cygnus.com>
748
749 * interp.c: Fix printing of addresses for non-64-bit targets.
750 (pr_addr): Add function to print address based on size.
751 start-sanitize-r5900
752 * gencode.c: #ifdef out offending code until a permanent fix
753 can be added. Code is causing build errors for non-5900 mips targets.
754 end-sanitize-r5900
755
756 start-sanitize-r5900
757 Thu Feb 20 10:40:24 1997 Gavin Koch <gavin@cetus.cygnus.com>
758
759 * gencode.c (process_instructions): Correct test for ISA dependent
760 architecture bits in isa field of MIPS_DECODE.
761
762 end-sanitize-r5900
763 Wed Feb 19 14:42:09 1997 Mark Alexander <marka@cygnus.com>
764
765 * interp.c (simopen): Add support for LSI MiniRISC PMON vectors.
766
767 start-sanitize-r5900
768 Tue Feb 18 17:03:47 1997 Gavin Koch <gavin@cygnus.com>
769
770 * gencode.c (MIPS_DECODE): Correct instruction feature flags for
771 PMADDUW.
772
773 end-sanitize-r5900
774 Thu Feb 13 14:08:30 1997 Ian Lance Taylor <ian@cygnus.com>
775
776 * gencode.c (build_mips16_operands): Correct computation of base
777 address for extended PC relative instruction.
778
779 start-sanitize-r5900
780 Fri Feb 7 11:12:44 1997 Gavin Koch <gavin@cygnus.com>
781
782 * Makefile.in, configure, configure.in, gencode.c,
783 interp.c, support.h: add r5900.
784
785 end-sanitize-r5900
786 Thu Feb 6 17:16:15 1997 Ian Lance Taylor <ian@cygnus.com>
787
788 * interp.c (mips16_entry): Add support for floating point cases.
789 (SignalException): Pass floating point cases to mips16_entry.
790 (ValueFPR): Don't restrict fmt_single and fmt_word to even
791 registers.
792 (StoreFPR): Likewise. Also, don't clobber fpr + 1 for fmt_single
793 or fmt_word.
794 (COP_LW): Pass fmt_word rather than fmt_uninterpreted to StoreFPR,
795 and then set the state to fmt_uninterpreted.
796 (COP_SW): Temporarily set the state to fmt_word while calling
797 ValueFPR.
798
799 Tue Feb 4 16:48:25 1997 Ian Lance Taylor <ian@cygnus.com>
800
801 * gencode.c (build_instruction): The high order may be set in the
802 comparison flags at any ISA level, not just ISA 4.
803
804 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
805
806 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
807 COMMON_{PRE,POST}_CONFIG_FRAG instead.
808 * configure.in: sinclude ../common/aclocal.m4.
809 * configure: Regenerated.
810
811 Fri Jan 31 11:11:45 1997 Ian Lance Taylor <ian@cygnus.com>
812
813 * configure: Rebuild after change to aclocal.m4.
814
815 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
816
817 * configure configure.in Makefile.in: Update to new configure
818 scheme which is more compatible with WinGDB builds.
819 * configure.in: Improve comment on how to run autoconf.
820 * configure: Re-run autoconf to get new ../common/aclocal.m4.
821 * Makefile.in: Use autoconf substitution to install common
822 makefile fragment.
823
824 Wed Jan 8 12:39:03 1997 Jim Wilson <wilson@cygnus.com>
825
826 * gencode.c (build_instruction): Use BigEndianCPU instead of
827 ByteSwapMem.
828
829 Thu Jan 02 22:23:04 1997 Mark Alexander <marka@cygnus.com>
830
831 * interp.c (sim_monitor): Make output to stdout visible in
832 wingdb's I/O log window.
833
834 Tue Dec 31 07:04:00 1996 Mark Alexander <marka@cygnus.com>
835
836 * support.h: Undo previous change to SIGTRAP
837 and SIGQUIT values.
838
839 Mon Dec 30 17:36:06 1996 Ian Lance Taylor <ian@cygnus.com>
840
841 * interp.c (store_word, load_word): New static functions.
842 (mips16_entry): New static function.
843 (SignalException): Look for mips16 entry and exit instructions.
844 (simulate): Use the correct index when setting fpr_state after
845 doing a pending move.
846
847 Sun Dec 29 09:37:18 1996 Mark Alexander <marka@cygnus.com>
848
849 * interp.c: Fix byte-swapping code throughout to work on
850 both little- and big-endian hosts.
851
852 Sun Dec 29 09:18:32 1996 Mark Alexander <marka@cygnus.com>
853
854 * support.h: Make definitions of SIGTRAP and SIGQUIT consistent
855 with gdb/config/i386/xm-windows.h.
856
857 Fri Dec 27 22:48:51 1996 Mark Alexander <marka@cygnus.com>
858
859 * gencode.c (build_instruction): Work around MSVC++ code gen bug
860 that messes up arithmetic shifts.
861
862 Fri Dec 20 11:04:05 1996 Stu Grossman (grossman@critters.cygnus.com)
863
864 * support.h: Use _WIN32 instead of __WIN32__. Also add defs for
865 SIGTRAP and SIGQUIT for _WIN32.
866
867 Thu Dec 19 14:07:27 1996 Ian Lance Taylor <ian@cygnus.com>
868
869 * gencode.c (build_instruction) [MUL]: Cast operands to word64, to
870 force a 64 bit multiplication.
871 (build_instruction) [OR]: In mips16 mode, don't do anything if the
872 destination register is 0, since that is the default mips16 nop
873 instruction.
874
875 Mon Dec 16 14:59:38 1996 Ian Lance Taylor <ian@cygnus.com>
876
877 * gencode.c (MIPS16_DECODE): SWRASP is I8, not RI.
878 (build_endian_shift): Don't check proc64.
879 (build_instruction): Always set memval to uword64. Cast op2 to
880 uword64 when shifting it left in memory instructions. Always use
881 the same code for stores--don't special case proc64.
882
883 * gencode.c (build_mips16_operands): Fix base PC value for PC
884 relative operands.
885 (build_instruction): Call JALDELAYSLOT rather than DELAYSLOT for a
886 jal instruction.
887 * interp.c (simJALDELAYSLOT): Define.
888 (JALDELAYSLOT): Define.
889 (INDELAYSLOT, INJALDELAYSLOT): Define.
890 (simulate): Clear simJALDELAYSLOT when simDELAYSLOT is cleared.
891
892 Tue Dec 24 22:11:20 1996 Angela Marie Thomas (angela@cygnus.com)
893
894 * interp.c (sim_open): add flush_cache as a PMON routine
895 (sim_monitor): handle flush_cache by ignoring it
896
897 Wed Dec 11 13:53:51 1996 Jim Wilson <wilson@cygnus.com>
898
899 * gencode.c (build_instruction): Use !ByteSwapMem instead of
900 BigEndianMem.
901 * interp.c (CONFIG, config_EP_{mask,shift,D,DxxDxx, config_BE): Delete.
902 (BigEndianMem): Rename to ByteSwapMem and change sense.
903 (BigEndianCPU, sim_write, LoadMemory, StoreMemory): Change
904 BigEndianMem references to !ByteSwapMem.
905 (set_endianness): New function, with prototype.
906 (sim_open): Call set_endianness.
907 (sim_info): Use simBE instead of BigEndianMem.
908 (xfer_direct_word, xfer_direct_long, swap_direct_word,
909 swap_direct_long, xfer_big_word, xfer_big_long, xfer_little_word,
910 xfer_little_long, swap_word, swap_long): Delete unnecessary MSC_VER
911 ifdefs, keeping the prototype declaration.
912 (swap_word): Rewrite correctly.
913 (ColdReset): Delete references to CONFIG. Delete endianness related
914 code; moved to set_endianness.
915
916 Tue Dec 10 11:32:04 1996 Jim Wilson <wilson@cygnus.com>
917
918 * gencode.c (build_instruction, case JUMP): Truncate PC to 32 bits.
919 * interp.c (CHECKHILO): Define away.
920 (simSIGINT): New macro.
921 (membank_size): Increase from 1MB to 2MB.
922 (control_c): New function.
923 (sim_resume): Rename parameter signal to signal_number. Add local
924 variable prev. Call signal before and after simulate.
925 (sim_stop_reason): Add simSIGINT support.
926 (sim_warning, sim_error, dotrace, SignalException): Define as stdarg
927 functions always.
928 (sim_warning): Delete call to SignalException. Do call printf_filtered
929 if logfh is NULL.
930 (AddressTranslation): Add #ifdef DEBUG around debugging message and
931 a call to sim_warning.
932
933 Wed Nov 27 11:53:50 1996 Ian Lance Taylor <ian@cygnus.com>
934
935 * gencode.c (process_instructions): If ! proc64, skip DOUBLEWORD
936 16 bit instructions.
937
938 Tue Nov 26 11:53:12 1996 Ian Lance Taylor <ian@cygnus.com>
939
940 Add support for mips16 (16 bit MIPS implementation):
941 * gencode.c (inst_type): Add mips16 instruction encoding types.
942 (GETDATASIZEINSN): Define.
943 (MIPS_DECODE): Add REG flag to dsllv, dsrav, and dsrlv. Add
944 jalx. Add LEFT flag to mfhi and mflo. Add RIGHT flag to mthi and
945 mtlo.
946 (MIPS16_DECODE): New table, for mips16 instructions.
947 (bitmap_val): New static function.
948 (struct mips16_op): Define.
949 (mips16_op_table): New table, for mips16 operands.
950 (build_mips16_operands): New static function.
951 (process_instructions): If PC is odd, decode a mips16
952 instruction. Break out instruction handling into new
953 build_instruction function.
954 (build_instruction): New static function, broken out of
955 process_instructions. Check modifiers rather than flags for SHIFT
956 bit count and m[ft]{hi,lo} direction.
957 (usage): Pass program name to fprintf.
958 (main): Remove unused variable this_option_optind. Change
959 ``*loptarg++'' to ``loptarg++''.
960 (my_strtoul): Parenthesize && within ||.
961 * interp.c (LoadMemory): Accept a halfword pAddr if vAddr is odd.
962 (simulate): If PC is odd, fetch a 16 bit instruction, and
963 increment PC by 2 rather than 4.
964 * configure.in: Add case for mips16*-*-*.
965 * configure: Rebuild.
966
967 Fri Nov 22 08:49:36 1996 Mark Alexander <marka@cygnus.com>
968
969 * interp.c: Allow -t to enable tracing in standalone simulator.
970 Fix garbage output in trace file and error messages.
971
972 Wed Nov 20 01:54:37 1996 Doug Evans <dje@canuck.cygnus.com>
973
974 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
975 (SIM_{OBJS,EXTRA_CFLAGS,EXTRA_CLEAN}): Define.
976 * configure.in: Simplify using macros in ../common/aclocal.m4.
977 * configure: Regenerated.
978 * tconfig.in: New file.
979
980 Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com>
981
982 * interp.c: Fix bugs in 64-bit port.
983 Use ansi function declarations for msvc compiler.
984 Initialize and test file pointer in trace code.
985 Prevent duplicate definition of LAST_EMED_REGNUM.
986
987 Tue Oct 15 11:07:06 1996 Mark Alexander <marka@cygnus.com>
988
989 * interp.c (xfer_big_long): Prevent unwanted sign extension.
990
991 Thu Sep 26 17:35:00 1996 James G. Smith <jsmith@cygnus.co.uk>
992
993 * interp.c (SignalException): Check for explicit terminating
994 breakpoint value.
995 * gencode.c: Pass instruction value through SignalException()
996 calls for Trap, Breakpoint and Syscall.
997
998 Thu Sep 26 11:35:17 1996 James G. Smith <jsmith@cygnus.co.uk>
999
1000 * interp.c (SquareRoot): Add HAVE_SQRT check to ensure sqrt() is
1001 only used on those hosts that provide it.
1002 * configure.in: Add sqrt() to list of functions to be checked for.
1003 * config.in: Re-generated.
1004 * configure: Re-generated.
1005
1006 Fri Sep 20 15:47:12 1996 Ian Lance Taylor <ian@cygnus.com>
1007
1008 * gencode.c (process_instructions): Call build_endian_shift when
1009 expanding STORE RIGHT, to fix swr.
1010 * support.h (SIGNEXTEND): If the sign bit is not set, explicitly
1011 clear the high bits.
1012 * interp.c (Convert): Fix fmt_single to fmt_long to not truncate.
1013 Fix float to int conversions to produce signed values.
1014
1015 Thu Sep 19 15:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
1016
1017 * gencode.c (MIPS_DECODE): Set UNSIGNED for multu instruction.
1018 (process_instructions): Correct handling of nor instruction.
1019 Correct shift count for 32 bit shift instructions. Correct sign
1020 extension for arithmetic shifts to not shift the number of bits in
1021 the type. Fix 64 bit multiply high word calculation. Fix 32 bit
1022 unsigned multiply. Fix ldxc1 and friends to use coprocessor 1.
1023 Fix madd.
1024 * interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC.
1025 It's OK to have a mult follow a mult. What's not OK is to have a
1026 mult follow an mfhi.
1027 (Convert): Comment out incorrect rounding code.
1028
1029 Mon Sep 16 11:38:16 1996 James G. Smith <jsmith@cygnus.co.uk>
1030
1031 * interp.c (sim_monitor): Improved monitor printf
1032 simulation. Tidied up simulator warnings, and added "--log" option
1033 for directing warning message output.
1034 * gencode.c: Use sim_warning() rather than WARNING macro.
1035
1036 Thu Aug 22 15:03:12 1996 Ian Lance Taylor <ian@cygnus.com>
1037
1038 * Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
1039 getopt1.o, rather than on gencode.c. Link objects together.
1040 Don't link against -liberty.
1041 (gencode.o, getopt.o, getopt1.o): New targets.
1042 * gencode.c: Include <ctype.h> and "ansidecl.h".
1043 (AND): Undefine after including "ansidecl.h".
1044 (ULONG_MAX): Define if not defined.
1045 (OP_*): Don't define macros; now defined in opcode/mips.h.
1046 (main): Call my_strtoul rather than strtoul.
1047 (my_strtoul): New static function.
1048
1049 Wed Jul 17 18:12:38 1996 Stu Grossman (grossman@critters.cygnus.com)
1050
1051 * gencode.c (process_instructions): Generate word64 and uword64
1052 instead of `long long' and `unsigned long long' data types.
1053 * interp.c: #include sysdep.h to get signals, and define default
1054 for SIGBUS.
1055 * (Convert): Work around for Visual-C++ compiler bug with type
1056 conversion.
1057 * support.h: Make things compile under Visual-C++ by using
1058 __int64 instead of `long long'. Change many refs to long long
1059 into word64/uword64 typedefs.
1060
1061 Wed Jun 26 12:24:55 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1062
1063 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1064 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1065 (docdir): Removed.
1066 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1067 (AC_PROG_INSTALL): Added.
1068 (AC_PROG_CC): Moved to before configure.host call.
1069 * configure: Rebuilt.
1070
1071 Wed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk>
1072
1073 * configure.in: Define @SIMCONF@ depending on mips target.
1074 * configure: Rebuild.
1075 * Makefile.in (run): Add @SIMCONF@ to control simulator
1076 construction.
1077 * gencode.c: Change LOADDRMASK to 64bit memory model only.
1078 * interp.c: Remove some debugging, provide more detailed error
1079 messages, update memory accesses to use LOADDRMASK.
1080
1081 Mon Jun 3 11:55:03 1996 Ian Lance Taylor <ian@cygnus.com>
1082
1083 * configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,
1084 AC_CHECK_LIB, and AC_CHECK_FUNCS. Change AC_OUTPUT to set
1085 stamp-h.
1086 * configure: Rebuild.
1087 * config.in: New file, generated by autoheader.
1088 * interp.c: Include "config.h". Include <stdlib.h>, <string.h>,
1089 and <strings.h> if they exist. Replace #ifdef sun with #ifdef
1090 HAVE_ANINT and HAVE_AINT, as appropriate.
1091 * Makefile.in (run): Use @LIBS@ rather than -lm.
1092 (interp.o): Depend upon config.h.
1093 (Makefile): Just rebuild Makefile.
1094 (clean): Remove stamp-h.
1095 (mostlyclean): Make the same as clean, not as distclean.
1096 (config.h, stamp-h): New targets.
1097
1098 Fri May 10 00:41:17 1996 James G. Smith <jsmith@cygnus.co.uk>
1099
1100 * interp.c (ColdReset): Fix boolean test. Make all simulator
1101 globals static.
1102
1103 Wed May 8 15:12:58 1996 James G. Smith <jsmith@cygnus.co.uk>
1104
1105 * interp.c (xfer_direct_word, xfer_direct_long,
1106 swap_direct_word, swap_direct_long, xfer_big_word,
1107 xfer_big_long, xfer_little_word, xfer_little_long,
1108 swap_word,swap_long): Added.
1109 * interp.c (ColdReset): Provide function indirection to
1110 host<->simulated_target transfer routines.
1111 * interp.c (sim_store_register, sim_fetch_register): Updated to
1112 make use of indirected transfer routines.
1113
1114 Fri Apr 19 15:48:24 1996 James G. Smith <jsmith@cygnus.co.uk>
1115
1116 * gencode.c (process_instructions): Ensure FP ABS instruction
1117 recognised.
1118 * interp.c (AbsoluteValue): Add routine. Also provide simple PMON
1119 system call support.
1120
1121 Wed Apr 10 09:51:38 1996 James G. Smith <jsmith@cygnus.co.uk>
1122
1123 * interp.c (sim_do_command): Complain if callback structure not
1124 initialised.
1125
1126 Thu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk>
1127
1128 * interp.c (Convert): Provide round-to-nearest and round-to-zero
1129 support for Sun hosts.
1130 * Makefile.in (gencode): Ensure the host compiler and libraries
1131 used for cross-hosted build.
1132
1133 Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>
1134
1135 * interp.c, gencode.c: Some more (TODO) tidying.
1136
1137 Thu Mar 7 11:19:33 1996 James G. Smith <jsmith@cygnus.co.uk>
1138
1139 * gencode.c, interp.c: Replaced explicit long long references with
1140 WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
1141 * support.h (SET64LO, SET64HI): Macros added.
1142
1143 Wed Feb 21 12:16:21 1996 Ian Lance Taylor <ian@cygnus.com>
1144
1145 * configure: Regenerate with autoconf 2.7.
1146
1147 Tue Jan 30 08:48:18 1996 Fred Fish <fnf@cygnus.com>
1148
1149 * interp.c (LoadMemory): Enclose text following #endif in /* */.
1150 * support.h: Remove superfluous "1" from #if.
1151 * support.h (CHECKSIM): Remove stray 'a' at end of line.
1152
1153 Mon Dec 4 11:44:40 1995 Jamie Smith <jsmith@cygnus.com>
1154
1155 * interp.c (StoreFPR): Control UndefinedResult() call on
1156 WARN_RESULT manifest.
1157
1158 Fri Dec 1 16:37:19 1995 James G. Smith <jsmith@cygnus.co.uk>
1159
1160 * gencode.c: Tidied instruction decoding, and added FP instruction
1161 support.
1162
1163 * interp.c: Added dineroIII, and BSD profiling support. Also
1164 run-time FP handling.
1165
1166 Sun Oct 22 00:57:18 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
1167
1168 * Changelog, Makefile.in, README.Cygnus, configure, configure.in,
1169 gencode.c, interp.c, support.h: created.
This page took 0.055162 seconds and 4 git commands to generate.