import gdb-1999-08-02 snapshot
[deliverable/binutils-gdb.git] / sim / mips / ChangeLog
1 Tue Jul 27 16:36:51 1999 Andrew Cagney <cagney@amy.cygnus.com>
2
3 * interp.c (sim_store_register): Handle case where client - GDB -
4 specifies that a 4 byte register is 8 bytes in size.
5 (sim_fetch_register): Ditto.
6
7 1999-07-14 Frank Ch. Eigler <fche@cygnus.com>
8
9 Implement "sim firmware" option, inspired by jimb's version of 1998-01.
10 * interp.c (firmware_option_p): New global flag: "sim firmware" given.
11 (idt_monitor_base): Base address for IDT monitor traps.
12 (pmon_monitor_base): Ditto for PMON.
13 (lsipmon_monitor_base): Ditto for LSI PMON.
14 (MONITOR_BASE, MONITOR_SIZE): Removed macros.
15 (mips_option): Add "firmware" option with new OPTION_FIRMWARE key.
16 (sim_firmware_command): New function.
17 (mips_option_handler): Call it for OPTION_FIRMWARE.
18 (sim_open): Allocate memory for idt_monitor region. If "--board"
19 option was given, add no monitor by default. Add BREAK hooks only if
20 monitors are also there.
21
22 Mon Jul 12 00:02:27 1999 Andrew Cagney <cagney@amy.cygnus.com>
23
24 * interp.c (sim_monitor): Flush output before reading input.
25
26 Sun Jul 11 19:28:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
27
28 * tconfig.in (SIM_HANDLES_LMA): Always define.
29
30 Thu Jul 8 16:06:59 1999 Andrew Cagney <cagney@b1.cygnus.com>
31
32 From Mark Salter <msalter@cygnus.com>:
33 * interp.c (BOARD_BSP): Define. Add to list of possible boards.
34 (sim_open): Add setup for BSP board.
35
36 Wed Jul 7 12:45:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
37
38 * mips.igen (MULT, MULTU): Add syntax for two operand version.
39 (DMFC0, DMTC0): Recognize. Call DecodeCoproc which will report
40 them as unimplemented.
41
42 1999-05-08 Felix Lee <flee@cygnus.com>
43
44 * configure: Regenerated to track ../common/aclocal.m4 changes.
45
46 1999-04-21 Frank Ch. Eigler <fche@cygnus.com>
47
48 * mips.igen (bc0f): For the TX39 only, decode this as a no-op stub.
49
50 Thu Apr 15 14:15:17 1999 Andrew Cagney <cagney@amy.cygnus.com>
51
52 * configure.in: Any mips64vr5*-*-* target should have
53 -DTARGET_ENABLE_FR=1.
54 (default_endian): Any mips64vr*el-*-* target should default to
55 LITTLE_ENDIAN.
56 * configure: Re-generate.
57
58 1999-02-19 Gavin Romig-Koch <gavin@cygnus.com>
59
60 * mips.igen (ldl): Extend from _16_, not 32.
61
62 Wed Jan 27 18:51:38 1999 Andrew Cagney <cagney@chook.cygnus.com>
63
64 * interp.c (sim_store_register): Force registers written to by GDB
65 into an un-interpreted state.
66
67 1999-02-05 Frank Ch. Eigler <fche@cygnus.com>
68
69 * dv-tx3904sio.c (tx3904sio_tickle): After a polled I/O from the
70 CPU, start periodic background I/O polls.
71 (tx3904sio_poll): New function: periodic I/O poller.
72
73 1998-12-30 Frank Ch. Eigler <fche@cygnus.com>
74
75 * mips.igen (BREAK): Call signal_exception instead of sim_engine_halt.
76
77 Tue Dec 29 16:03:53 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
78
79 * configure.in, configure (mips64vr5*-*-*): Added missing ;; in
80 case statement.
81
82 1998-12-29 Frank Ch. Eigler <fche@cygnus.com>
83
84 * interp.c (sim_open): Allocate jm3904 memory in smaller chunks.
85 (load_word): Call SIM_CORE_SIGNAL hook on error.
86 (signal_exception): Call SIM_CPU_EXCEPTION_TRIGGER hook before
87 starting. For exception dispatching, pass PC instead of NULL_CIA.
88 (decode_coproc): Use COP0_BADVADDR to store faulting address.
89 * sim-main.h (COP0_BADVADDR): Define.
90 (SIM_CORE_SIGNAL): Define hook to call mips_core_signal.
91 (SIM_CPU_EXCEPTION*): Define hooks to call mips_cpu_exception*().
92 (_sim_cpu): Add exc_* fields to store register value snapshots.
93 * mips.igen (*): Replace memory-related SignalException* calls
94 with references to SIM_CORE_SIGNAL hook.
95
96 * dv-tx3904irc.c (tx3904irc_port_event): printf format warning
97 fix.
98 * sim-main.c (*): Minor warning cleanups.
99
100 1998-12-24 Gavin Romig-Koch <gavin@cygnus.com>
101
102 * m16.igen (DADDIU5): Correct type-o.
103
104 Mon Dec 21 10:34:48 1998 Andrew Cagney <cagney@chook>
105
106 * mips.igen (do_ddiv, do_ddivu): Pacify GCC. Update hi/lo via tmp
107 variables.
108
109 Wed Dec 16 18:20:28 1998 Andrew Cagney <cagney@chook>
110
111 * Makefile.in (SIM_EXTRA_CFLAGS): No longer need to add .../newlib
112 to include path.
113 (interp.o): Add dependency on itable.h
114 (oengine.c, gencode): Delete remaining references.
115 (BUILT_SRC_FROM_GEN): Clean up.
116
117 1998-12-16 Gavin Romig-Koch <gavin@cygnus.com>
118
119 * vr4run.c: New.
120 * Makefile.in (SIM_HACK_OBJ,HACK_OBJS,HACK_GEN_SRCS,libhack.a,
121 tmp-hack,tmp-m32-hack,tmp-m16-hack,tmp-itable-hack,
122 tmp-run-hack) : New.
123 * m16.igen (LD,DADDIU,DADDUI5,DADJSP,DADDIUSP,DADDI,DADDU,DSUBU,
124 DSLL,DSRL,DSRA,DSLLV,DSRAV,DMULT,DMULTU,DDIV,DDIVU,JALX32,JALX):
125 Drop the "64" qualifier to get the HACK generator working.
126 Use IMMEDIATE rather than IMMED. Use SHAMT rather than SHIFT.
127 * mips.igen (do_daddiu,do_ddiv,do_divu): Remove the 64-only
128 qualifier to get the hack generator working.
129 (do_dsll,do_dsllv,do_dsra,do_dsrl,do_dsrlv): New.
130 (DSLL): Use do_dsll.
131 (DSLLV): Use do_dsllv.
132 (DSRA): Use do_dsra.
133 (DSRL): Use do_dsrl.
134 (DSRLV): Use do_dsrlv.
135 (BC1): Move *vr4100 to get the HACK generator working.
136 (CxC1, DMxC1, MxC1,MACCU,MACCHI,MACCHIU): Rename to
137 get the HACK generator working.
138 (MACC) Rename to get the HACK generator working.
139 (DMACC,MACCS,DMACCS): Add the 64.
140
141 1998-12-12 Gavin Romig-Koch <gavin@cygnus.com>
142
143 * mips.igen (BC1): Renamed to BC1a and BC1b to avoid conflicts.
144 * sim-main.h (SizeFGR): Handle TARGET_ENABLE_FR.
145
146 1998-12-11 Gavin Romig-Koch <gavin@cygnus.com>
147
148 * mips/interp.c (DEBUG): Cleanups.
149
150 1998-12-10 Frank Ch. Eigler <fche@cygnus.com>
151
152 * dv-tx3904sio.c (tx3904sio_io_read_buffer): Endianness fixes.
153 (tx3904sio_tickle): fflush after a stdout character output.
154
155 1998-12-03 Frank Ch. Eigler <fche@cygnus.com>
156
157 * interp.c (sim_close): Uninstall modules.
158
159 Wed Nov 25 13:41:03 1998 Andrew Cagney <cagney@b1.cygnus.com>
160
161 * sim-main.h, interp.c (sim_monitor): Change to global
162 function.
163
164 Wed Nov 25 17:33:24 1998 Andrew Cagney <cagney@b1.cygnus.com>
165
166 * configure.in (vr4100): Only include vr4100 instructions in
167 simulator.
168 * configure: Re-generate.
169 * m16.igen (*): Tag all mips16 instructions as also being vr4100.
170
171 Mon Nov 23 18:20:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
172
173 * Makefile.in (SIM_CFLAGS): Do not define WITH_IGEN.
174 * sim-main.h, sim-main.c, interp.c: Delete #if WITH_IGEN keeping
175 true alternative.
176
177 * configure.in (sim_default_gen, sim_use_gen): Replace with
178 sim_gen.
179 (--enable-sim-igen): Delete config option. Always using IGEN.
180 * configure: Re-generate.
181
182 * Makefile.in (gencode): Kill, kill, kill.
183 * gencode.c: Ditto.
184
185 Mon Nov 23 18:07:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
186
187 * configure.in: Configure mips64vr4100-elf nee mips64vr41* as a 64
188 bit mips16 igen simulator.
189 * configure: Re-generate.
190
191 * mips.igen (check_div_hilo, check_mult_hilo, check_mf_hilo): Mark
192 as part of vr4100 ISA.
193 * vr.igen: Mark all instructions as 64 bit only.
194
195 Mon Nov 23 17:07:37 1998 Andrew Cagney <cagney@b1.cygnus.com>
196
197 * interp.c (get_cell, sim_monitor, fetch_str, CoProcPresent):
198 Pacify GCC.
199
200 Mon Nov 23 13:23:40 1998 Andrew Cagney <cagney@b1.cygnus.com>
201
202 * configure.in: Configure mips-lsi-elf nee mips*lsi* as a
203 mipsIII/mips16 igen simulator. Fix sim_gen VS sim_igen typos.
204 * configure: Re-generate.
205
206 * m16.igen (BREAK): Define breakpoint instruction.
207 (JALX32): Mark instruction as mips16 and not r3900.
208 * mips.igen (C.cond.fmt): Fix typo in instruction format.
209
210 * sim-main.h (PENDING_FILL): Wrap C statements in do/while.
211
212 Sat Nov 7 09:54:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
213
214 * gencode.c (build_instruction - BREAK): For MIPS16, handle BREAK
215 insn as a debug breakpoint.
216
217 * sim-main.h (PENDING_SLOT_BIT): Fix, was incorrectly defined as
218 pending.slot_size.
219 (PENDING_SCHED): Clean up trace statement.
220 (PENDING_SCHED): Increment PENDING_IN and PENDING_TOTAL.
221 (PENDING_FILL): Delay write by only one cycle.
222 (PENDING_FILL): For FSRs, write fmt_uninterpreted to FPR_STATE.
223
224 * sim-main.c (pending_tick): Clean up trace statements. Add trace
225 of pending writes.
226 (pending_tick): Fix sizes in switch statements, 4 & 8 instead of
227 32 & 64.
228 (pending_tick): Move incrementing of index to FOR statement.
229 (pending_tick): Only update PENDING_OUT after a write has occured.
230
231 * configure.in: Add explicit mips-lsi-* target. Use gencode to
232 build simulator.
233 * configure: Re-generate.
234
235 * interp.c (sim_engine_run OLD): Delete explicit call to
236 PENDING_TICK. Now called via ENGINE_ISSUE_PREFIX_HOOK.
237
238 Sat Oct 30 09:49:10 1998 Frank Ch. Eigler <fche@cygnus.com>
239
240 * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Add dummy
241 interrupt level number to match changed SignalExceptionInterrupt
242 macro.
243
244 Fri Oct 9 18:02:25 1998 Doug Evans <devans@canuck.cygnus.com>
245
246 * interp.c: #include "itable.h" if WITH_IGEN.
247 (get_insn_name): New function.
248 (sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS.
249 * sim-main.h (MAX_INSNS,INSN_NAME): Delete.
250
251 Mon Sep 14 12:36:44 1998 Frank Ch. Eigler <fche@cygnus.com>
252
253 * configure: Rebuilt to inhale new common/aclocal.m4.
254
255 Tue Sep 1 15:39:18 1998 Frank Ch. Eigler <fche@cygnus.com>
256
257 * dv-tx3904sio.c: Include sim-assert.h.
258
259 Tue Aug 25 12:49:46 1998 Frank Ch. Eigler <fche@cygnus.com>
260
261 * dv-tx3904sio.c: New file: tx3904 serial I/O module.
262 * configure.in: Add dv-tx3904sio, dv-sockser for tx39 target.
263 Reorganize target-specific sim-hardware checks.
264 * configure: rebuilt.
265 * interp.c (sim_open): For tx39 target boards, set
266 OPERATING_ENVIRONMENT, add tx3904sio devices.
267 * tconfig.in: For tx39 target, set SIM_HANDLES_LMA for loading
268 ROM executables. Install dv-sockser into sim-modules list.
269
270 * dv-tx3904irc.c: Compiler warning clean-up.
271 * dv-tx3904tmr.c: Compiler warning clean-up. Remove particularly
272 frequent hw-trace messages.
273
274 Fri Jul 31 18:14:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
275
276 * vr.igen (MulAcc): Identify as a vr4100 specific function.
277
278 Sat Jul 25 16:03:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
279
280 * Makefile.in (IGEN_INCLUDE): Add vr.igen.
281
282 * vr.igen: New file.
283 (MAC/MADD16, DMAC/DMADD16): Implement using code from gencode.c.
284 * mips.igen: Define vr4100 model. Include vr.igen.
285 Mon Jun 29 09:21:07 1998 Gavin Koch <gavin@cygnus.com>
286
287 * mips.igen (check_mf_hilo): Correct check.
288
289 Wed Jun 17 12:20:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
290
291 * sim-main.h (interrupt_event): Add prototype.
292
293 * dv-tx3904tmr.c (tx3904tmr_io_write_buffer): Delete unused
294 register_ptr, register_value.
295 (deliver_tx3904tmr_tick): Fix types passed to printf fmt.
296
297 * sim-main.h (tracefh): Make extern.
298
299 Tue Jun 16 14:39:00 1998 Frank Ch. Eigler <fche@cygnus.com>
300
301 * dv-tx3904tmr.c: Deschedule timer event after dispatching.
302 Reduce unnecessarily high timer event frequency.
303 * dv-tx3904cpu.c: Ditto for interrupt event.
304
305 Wed Jun 10 13:22:32 1998 Frank Ch. Eigler <fche@cygnus.com>
306
307 * interp.c (decode_coproc): For TX39, add stub COP0 register #7,
308 to allay warnings.
309 (interrupt_event): Made non-static.
310
311 * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Correct accidental
312 interchange of configuration values for external vs. internal
313 clock dividers.
314
315 Tue Jun 9 12:46:24 1998 Ian Carmichael <iancarm@cygnus.com>
316
317 * mips.igen (BREAK): Moved code to here for
318 simulator-reserved break instructions.
319 * gencode.c (build_instruction): Ditto.
320 * interp.c (signal_exception): Code moved from here. Non-
321 reserved instructions now use exception vector, rather
322 than halting sim.
323 * sim-main.h: Moved magic constants to here.
324
325 Tue Jun 9 12:29:50 1998 Frank Ch. Eigler <fche@cygnus.com>
326
327 * dv-tx3904cpu.c (deliver_*_interrupt,*_port_event): Set the CAUSE
328 register upon non-zero interrupt event level, clear upon zero
329 event value.
330 * dv-tx3904irc.c (*_port_event): Handle deactivated interrupt signal
331 by passing zero event value.
332 (*_io_{read,write}_buffer): Endianness fixes.
333 * dv-tx3904tmr.c (*_io_{read,write}_buffer): Endianness fixes.
334 (deliver_*_tick): Reduce sim event interval to 75% of count interval.
335
336 * interp.c (sim_open): Added jmr3904pal board type that adds PAL-based
337 serial I/O and timer module at base address 0xFFFF0000.
338
339 Tue Jun 9 11:52:29 1998 Gavin Koch <gavin@cygnus.com>
340
341 * mips.igen (SWC1) : Correct the handling of ReverseEndian
342 and BigEndianCPU.
343
344 Tue Jun 9 11:40:57 1998 Gavin Koch <gavin@cygnus.com>
345
346 * configure.in (mips_fpu_bitsize) : Set this correctly for 32-bit mips
347 parts.
348 * configure: Update.
349
350 Thu Jun 4 15:37:33 1998 Frank Ch. Eigler <fche@cygnus.com>
351
352 * dv-tx3904tmr.c: New file - implements tx3904 timer.
353 * dv-tx3904{irc,cpu}.c: Mild reformatting.
354 * configure.in: Include tx3904tmr in hw_device list.
355 * configure: Rebuilt.
356 * interp.c (sim_open): Instantiate three timer instances.
357 Fix address typo of tx3904irc instance.
358
359 Tue Jun 2 15:48:02 1998 Ian Carmichael <iancarm@cygnus.com>
360
361 * interp.c (signal_exception): SystemCall exception now uses
362 the exception vector.
363
364 Mon Jun 1 18:18:26 1998 Frank Ch. Eigler <fche@cygnus.com>
365
366 * interp.c (decode_coproc): For TX39, add stub COP0 register #3,
367 to allay warnings.
368
369 Fri May 29 11:40:39 1998 Andrew Cagney <cagney@b1.cygnus.com>
370
371 * configure.in (sim_igen_filter): Match mips*tx39 not mipst*tx39.
372
373 Mon May 25 20:47:45 1998 Andrew Cagney <cagney@b1.cygnus.com>
374
375 * dv-tx3904cpu.c, dv-tx3904irc.c: Rename *_callback to *_method.
376
377 * dv-tx3904cpu.c, dv-tx3904irc.c: Include hw-main.h and
378 sim-main.h. Declare a struct hw_descriptor instead of struct
379 hw_device_descriptor.
380
381 Mon May 25 12:41:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
382
383 * mips.igen (do_store_left, do_load_left): Compute nr of left and
384 right bits and then re-align left hand bytes to correct byte
385 lanes. Fix incorrect computation in do_store_left when loading
386 bytes from second word.
387
388 Fri May 22 13:34:20 1998 Andrew Cagney <cagney@b1.cygnus.com>
389
390 * configure.in (SIM_AC_OPTION_HARDWARE): Only enable when tx3904.
391 * interp.c (sim_open): Only create a device tree when HW is
392 enabled.
393
394 * dv-tx3904irc.c (tx3904irc_finish): Pacify GCC.
395 * interp.c (signal_exception): Ditto.
396
397 Thu May 21 14:24:11 1998 Gavin Koch <gavin@cygnus.com>
398
399 * gencode.c: Mark BEGEZALL as LIKELY.
400
401 Thu May 21 18:57:19 1998 Andrew Cagney <cagney@b1.cygnus.com>
402
403 * sim-main.h (ALU32_END): Sign extend 32 bit results.
404 * mips.igen (ADD, SUB, ADDI, DADD, DSUB): Trace.
405
406 Mon May 18 18:22:42 1998 Frank Ch. Eigler <fche@cygnus.com>
407
408 * configure.in (SIM_AC_OPTION_HARDWARE): Added common hardware
409 modules. Recognize TX39 target with "mips*tx39" pattern.
410 * configure: Rebuilt.
411 * sim-main.h (*): Added many macros defining bits in
412 TX39 control registers.
413 (SignalInterrupt): Send actual PC instead of NULL.
414 (SignalNMIReset): New exception type.
415 * interp.c (board): New variable for future use to identify
416 a particular board being simulated.
417 (mips_option_handler,mips_options): Added "--board" option.
418 (interrupt_event): Send actual PC.
419 (sim_open): Make memory layout conditional on board setting.
420 (signal_exception): Initial implementation of hardware interrupt
421 handling. Accept another break instruction variant for simulator
422 exit.
423 (decode_coproc): Implement RFE instruction for TX39.
424 (mips.igen): Decode RFE instruction as such.
425 * configure.in (tx3904cpu,tx3904irc): Added devices for tx3904.
426 * interp.c: Define "jmr3904" and "jmr3904debug" board types and
427 bbegin to implement memory map.
428 * dv-tx3904cpu.c: New file.
429 * dv-tx3904irc.c: New file.
430
431 Wed May 13 14:40:11 1998 Gavin Koch <gavin@cygnus.com>
432
433 * mips.igen (check_mt_hilo): Create a separate r3900 version.
434
435 Wed May 13 14:11:46 1998 Gavin Koch <gavin@cygnus.com>
436
437 * tx.igen (madd,maddu): Replace calls to check_op_hilo
438 with calls to check_div_hilo.
439
440 Wed May 13 09:59:27 1998 Gavin Koch <gavin@cygnus.com>
441
442 * mips/mips.igen (check_op_hilo,check_mult_hilo,check_div_hilo):
443 Replace check_op_hilo with check_mult_hilo and check_div_hilo.
444 Add special r3900 version of do_mult_hilo.
445 (do_dmultx,do_mult,do_multu): Replace calls to check_op_hilo
446 with calls to check_mult_hilo.
447 (do_ddiv,do_ddivu,do_div,do_divu): Replace calls to check_op_hilo
448 with calls to check_div_hilo.
449
450 Tue May 12 15:22:11 1998 Andrew Cagney <cagney@b1.cygnus.com>
451
452 * configure.in (SUBTARGET_R3900): Define for mipstx39 target.
453 Document a replacement.
454
455 Fri May 8 17:48:19 1998 Ian Carmichael <iancarm@cygnus.com>
456
457 * interp.c (sim_monitor): Make mon_printf work.
458
459 Wed May 6 19:42:19 1998 Doug Evans <devans@canuck.cygnus.com>
460
461 * sim-main.h (INSN_NAME): New arg `cpu'.
462
463 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
464
465 * configure: Regenerated to track ../common/aclocal.m4 changes.
466
467 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
468
469 * configure: Regenerated to track ../common/aclocal.m4 changes.
470 * config.in: Ditto.
471
472 Sun Apr 26 15:20:01 1998 Tom Tromey <tromey@cygnus.com>
473
474 * acconfig.h: New file.
475 * configure.in: Reverted change of Apr 24; use sinclude again.
476
477 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
478
479 * configure: Regenerated to track ../common/aclocal.m4 changes.
480 * config.in: Ditto.
481
482 Fri Apr 24 11:19:20 1998 Tom Tromey <tromey@cygnus.com>
483
484 * configure.in: Don't call sinclude.
485
486 Fri Apr 24 11:35:01 1998 Andrew Cagney <cagney@chook.cygnus.com>
487
488 * mips.igen (do_store_left): Pass 0 not NULL to store_memory.
489
490 Tue Apr 21 11:59:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
491
492 * mips.igen (ERET): Implement.
493
494 * interp.c (decode_coproc): Return sign-extended EPC.
495
496 * mips.igen (ANDI, LUI, MFC0): Add tracing code.
497
498 * interp.c (signal_exception): Do not ignore Trap.
499 (signal_exception): On TRAP, restart at exception address.
500 (HALT_INSTRUCTION, HALT_INSTRUCTION_MASK): Define.
501 (signal_exception): Update.
502 (sim_open): Patch V_COMMON interrupt vector with an abort sequence
503 so that TRAP instructions are caught.
504
505 Mon Apr 20 11:26:55 1998 Andrew Cagney <cagney@b1.cygnus.com>
506
507 * sim-main.h (struct hilo_access, struct hilo_history): Define,
508 contains HI/LO access history.
509 (struct _sim_cpu): Make hiaccess and loaccess of type hilo_access.
510 (HIACCESS, LOACCESS): Delete, replace with
511 (HIHISTORY, LOHISTORY): New macros.
512 (CHECKHILO): Delete all, moved to mips.igen
513
514 * gencode.c (build_instruction): Do not generate checks for
515 correct HI/LO register usage.
516
517 * interp.c (old_engine_run): Delete checks for correct HI/LO
518 register usage.
519
520 * mips.igen (check_mt_hilo, check_mf_hilo, check_op_hilo,
521 check_mf_cycles): New functions.
522 (do_mfhi, do_mflo, "mthi", "mtlo", do_ddiv, do_ddivu, do_div,
523 do_divu, domultx, do_mult, do_multu): Use.
524
525 * tx.igen ("madd", "maddu"): Use.
526
527 Wed Apr 15 18:31:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
528
529 * mips.igen (DSRAV): Use function do_dsrav.
530 (SRAV): Use new function do_srav.
531
532 * m16.igen (BEQZ, BNEZ): Compare GPR[TRX] not GPR[RX].
533 (B): Sign extend 11 bit immediate.
534 (EXT-B*): Shift 16 bit immediate left by 1.
535 (ADDIU*): Don't sign extend immediate value.
536
537 Wed Apr 15 10:32:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
538
539 * m16run.c (sim_engine_run): Restore CIA after handling an event.
540
541 * sim-main.h (DELAY_SLOT, NULLIFY_NEXT_INSTRUCTION): For IGEN, use
542 functions.
543
544 * mips.igen (delayslot32, nullify_next_insn): New functions.
545 (m16.igen): Always include.
546 (do_*): Add more tracing.
547
548 * m16.igen (delayslot16): Add NIA argument, could be called by a
549 32 bit MIPS16 instruction.
550
551 * interp.c (ifetch16): Move function from here.
552 * sim-main.c (ifetch16): To here.
553
554 * sim-main.c (ifetch16, ifetch32): Update to match current
555 implementations of LH, LW.
556 (signal_exception): Don't print out incorrect hex value of illegal
557 instruction.
558
559 Wed Apr 15 00:17:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
560
561 * m16run.c (sim_engine_run): Use IMEM16 and IMEM32 to fetch an
562 instruction.
563
564 * m16.igen: Implement MIPS16 instructions.
565
566 * mips.igen (do_addiu, do_addu, do_and, do_daddiu, do_daddu,
567 do_ddiv, do_ddivu, do_div, do_divu, do_dmultx, do_dmultu, do_srav,
568 do_dsubu, do_mfhi, do_mflo, do_mult, do_multu, do_nor, do_or,
569 do_sll, do_sllv, do_slt, do_slti, do_sltiu, do_sltu, do_sra,
570 do_srl, do_srlv, do_subu, do_xor, do_xori): New functions. Move
571 bodies of corresponding code from 32 bit insn to these. Also used
572 by MIPS16 versions of functions.
573
574 * sim-main.h (RAIDX, T8IDX, T8, SPIDX): Define.
575 (IMEM16): Drop NR argument from macro.
576
577 Sat Apr 4 22:39:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
578
579 * Makefile.in (SIM_OBJS): Add sim-main.o.
580
581 * sim-main.h (address_translation, load_memory, store_memory,
582 cache_op, sync_operation, prefetch, ifetch32, pending_tick): Mark
583 as INLINE_SIM_MAIN.
584 (pr_addr, pr_uword64): Declare.
585 (sim-main.c): Include when H_REVEALS_MODULE_P.
586
587 * interp.c (address_translation, load_memory, store_memory,
588 cache_op, sync_operation, prefetch, ifetch32, pending_tick): Move
589 from here.
590 * sim-main.c: To here. Fix compilation problems.
591
592 * configure.in: Enable inlining.
593 * configure: Re-config.
594
595 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
596
597 * configure: Regenerated to track ../common/aclocal.m4 changes.
598
599 Fri Apr 3 04:32:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
600
601 * mips.igen: Include tx.igen.
602 * Makefile.in (IGEN_INCLUDE): Add tx.igen.
603 * tx.igen: New file, contains MADD and MADDU.
604
605 * interp.c (load_memory): When shifting bytes, use LOADDRMASK not
606 the hardwired constant `7'.
607 (store_memory): Ditto.
608 (LOADDRMASK): Move definition to sim-main.h.
609
610 mips.igen (MTC0): Enable for r3900.
611 (ADDU): Add trace.
612
613 mips.igen (do_load_byte): Delete.
614 (do_load, do_store, do_load_left, do_load_write, do_store_left,
615 do_store_right): New functions.
616 (SW*, LW*, SD*, LD*, SH, LH, SB, LB): Use.
617
618 configure.in: Let the tx39 use igen again.
619 configure: Update.
620
621 Thu Apr 2 10:59:39 1998 Andrew Cagney <cagney@b1.cygnus.com>
622
623 * interp.c (sim_monitor): get_mem_info returns a 4 byte quantity,
624 not an address sized quantity. Return zero for cache sizes.
625
626 Wed Apr 1 23:47:53 1998 Andrew Cagney <cagney@b1.cygnus.com>
627
628 * mips.igen (r3900): r3900 does not support 64 bit integer
629 operations.
630
631 Mon Mar 30 14:46:05 1998 Gavin Koch <gavin@cygnus.com>
632
633 * configure.in (mipstx39*-*-*): Use gencode simulator rather
634 than igen one.
635 * configure : Rebuild.
636
637 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
638
639 * configure: Regenerated to track ../common/aclocal.m4 changes.
640
641 Fri Mar 27 15:01:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
642
643 * interp.c (mips_option_handler): Iterate over MAX_NR_PROCESSORS.
644
645 Wed Mar 25 16:44:27 1998 Ian Carmichael <iancarm@cygnus.com>
646
647 * configure: Regenerated to track ../common/aclocal.m4 changes.
648 * config.in: Regenerated to track ../common/aclocal.m4 changes.
649
650 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
651
652 * configure: Regenerated to track ../common/aclocal.m4 changes.
653
654 Wed Mar 25 10:05:46 1998 Andrew Cagney <cagney@b1.cygnus.com>
655
656 * interp.c (Max, Min): Comment out functions. Not yet used.
657
658 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
659
660 * configure: Regenerated to track ../common/aclocal.m4 changes.
661
662 Tue Mar 17 19:05:20 1998 Frank Ch. Eigler <fche@cygnus.com>
663
664 * Makefile.in (MIPS_EXTRA_LIBS, SIM_EXTRA_LIBS): Added
665 configurable settings for stand-alone simulator.
666
667 * configure.in: Added X11 search, just in case.
668
669 * configure: Regenerated.
670
671 Wed Mar 11 14:09:10 1998 Andrew Cagney <cagney@b1.cygnus.com>
672
673 * interp.c (sim_write, sim_read, load_memory, store_memory):
674 Replace sim_core_*_map with read_map, write_map, exec_map resp.
675
676 Tue Mar 3 13:58:43 1998 Andrew Cagney <cagney@b1.cygnus.com>
677
678 * sim-main.h (GETFCC): Return an unsigned value.
679
680 Tue Mar 3 13:21:37 1998 Andrew Cagney <cagney@b1.cygnus.com>
681
682 * mips.igen (DIV): Fix check for -1 / MIN_INT.
683 (DADD): Result destination is RD not RT.
684
685 Fri Feb 27 13:49:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
686
687 * sim-main.h (HIACCESS, LOACCESS): Always define.
688
689 * mdmx.igen (Maxi, Mini): Rename Max, Min.
690
691 * interp.c (sim_info): Delete.
692
693 Fri Feb 27 18:41:01 1998 Doug Evans <devans@canuck.cygnus.com>
694
695 * interp.c (DECLARE_OPTION_HANDLER): Use it.
696 (mips_option_handler): New argument `cpu'.
697 (sim_open): Update call to sim_add_option_table.
698
699 Wed Feb 25 18:56:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
700
701 * mips.igen (CxC1): Add tracing.
702
703 Fri Feb 20 17:43:21 1998 Andrew Cagney <cagney@b1.cygnus.com>
704
705 * sim-main.h (Max, Min): Declare.
706
707 * interp.c (Max, Min): New functions.
708
709 * mips.igen (BC1): Add tracing.
710
711 Thu Feb 19 14:50:00 1998 John Metzler <jmetzler@cygnus.com>
712
713 * interp.c Added memory map for stack in vr4100
714
715 Thu Feb 19 10:21:21 1998 Gavin Koch <gavin@cygnus.com>
716
717 * interp.c (load_memory): Add missing "break"'s.
718
719 Tue Feb 17 12:45:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
720
721 * interp.c (sim_store_register, sim_fetch_register): Pass in
722 length parameter. Return -1.
723
724 Tue Feb 10 11:57:40 1998 Ian Carmichael <iancarm@cygnus.com>
725
726 * interp.c: Added hardware init hook, fixed warnings.
727
728 Sat Feb 7 17:16:20 1998 Andrew Cagney <cagney@b1.cygnus.com>
729
730 * Makefile.in (itable.h itable.c): Depend on SIM_@sim_gen@_ALL.
731
732 Tue Feb 3 11:36:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
733
734 * interp.c (ifetch16): New function.
735
736 * sim-main.h (IMEM32): Rename IMEM.
737 (IMEM16_IMMED): Define.
738 (IMEM16): Define.
739 (DELAY_SLOT): Update.
740
741 * m16run.c (sim_engine_run): New file.
742
743 * m16.igen: All instructions except LB.
744 (LB): Call do_load_byte.
745 * mips.igen (do_load_byte): New function.
746 (LB): Call do_load_byte.
747
748 * mips.igen: Move spec for insn bit size and high bit from here.
749 * Makefile.in (tmp-igen, tmp-m16): To here.
750
751 * m16.dc: New file, decode mips16 instructions.
752
753 * Makefile.in (SIM_NO_ALL): Define.
754 (tmp-m16): Generate both 16 bit and 32 bit simulator engines.
755
756 Tue Feb 3 11:28:00 1998 Andrew Cagney <cagney@b1.cygnus.com>
757
758 * configure.in (mips_fpu_bitsize): For tx39, restrict floating
759 point unit to 32 bit registers.
760 * configure: Re-generate.
761
762 Sun Feb 1 15:47:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
763
764 * configure.in (sim_use_gen): Make IGEN the default simulator
765 generator for generic 32 and 64 bit mips targets.
766 * configure: Re-generate.
767
768 Sun Feb 1 16:52:37 1998 Andrew Cagney <cagney@b1.cygnus.com>
769
770 * sim-main.h (SizeFGR): Determine from floating-point and not gpr
771 bitsize.
772
773 * interp.c (sim_fetch_register, sim_store_register): Read/write
774 FGR from correct location.
775 (sim_open): Set size of FGR's according to
776 WITH_TARGET_FLOATING_POINT_BITSIZE.
777
778 * sim-main.h (FGR): Store floating point registers in a separate
779 array.
780
781 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
782
783 * configure: Regenerated to track ../common/aclocal.m4 changes.
784
785 Tue Feb 3 00:10:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
786
787 * interp.c (ColdReset): Call PENDING_INVALIDATE.
788
789 * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Call PENDING_TICK.
790
791 * interp.c (pending_tick): New function. Deliver pending writes.
792
793 * sim-main.h (PENDING_FILL, PENDING_TICK, PENDING_SCHED,
794 PENDING_BIT, PENDING_INVALIDATE): Re-write pipeline code so that
795 it can handle mixed sized quantites and single bits.
796
797 Mon Feb 2 17:43:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
798
799 * interp.c (oengine.h): Do not include when building with IGEN.
800 (sim_open): Replace GPRLEN by WITH_TARGET_WORD_BITSIZE.
801 (sim_info): Ditto for PROCESSOR_64BIT.
802 (sim_monitor): Replace ut_reg with unsigned_word.
803 (*): Ditto for t_reg.
804 (LOADDRMASK): Define.
805 (sim_open): Remove defunct check that host FP is IEEE compliant,
806 using software to emulate floating point.
807 (value_fpr, ...): Always compile, was conditional on HASFPU.
808
809 Sun Feb 1 11:15:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
810
811 * sim-main.h (sim_state): Make the cpu array MAX_NR_PROCESSORS in
812 size.
813
814 * interp.c (SD, CPU): Define.
815 (mips_option_handler): Set flags in each CPU.
816 (interrupt_event): Assume CPU 0 is the one being iterrupted.
817 (sim_close): Do not clear STATE, deleted anyway.
818 (sim_write, sim_read): Assume CPU zero's vm should be used for
819 data transfers.
820 (sim_create_inferior): Set the PC for all processors.
821 (sim_monitor, store_word, load_word, mips16_entry): Add cpu
822 argument.
823 (mips16_entry): Pass correct nr of args to store_word, load_word.
824 (ColdReset): Cold reset all cpu's.
825 (signal_exception): Pass cpu to sim_monitor & mips16_entry.
826 (sim_monitor, load_memory, store_memory, signal_exception): Use
827 `CPU' instead of STATE_CPU.
828
829
830 * sim-main.h: Replace uses of STATE_CPU with CPU. Replace sd with
831 SD or CPU_.
832
833 * sim-main.h (signal_exception): Add sim_cpu arg.
834 (SignalException*): Pass both SD and CPU to signal_exception.
835 * interp.c (signal_exception): Update.
836
837 * sim-main.h (value_fpr, store_fpr, dotrace, ifetch32), interp.c:
838 Ditto
839 (sync_operation, prefetch, cache_op, store_memory, load_memory,
840 address_translation): Ditto
841 (decode_coproc, cop_lw, cop_ld, cop_sw, cop_sd): Ditto.
842
843 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
844
845 * configure: Regenerated to track ../common/aclocal.m4 changes.
846
847 Sat Jan 31 14:49:24 1998 Andrew Cagney <cagney@b1.cygnus.com>
848
849 * interp.c (sim_engine_run): Add `nr_cpus' argument.
850
851 * mips.igen (model): Map processor names onto BFD name.
852
853 * sim-main.h (CPU_CIA): Delete.
854 (SET_CIA, GET_CIA): Define
855
856 Wed Jan 21 16:16:27 1998 Andrew Cagney <cagney@b1.cygnus.com>
857
858 * sim-main.h (GPR_SET): Define, used by igen when zeroing a
859 regiser.
860
861 * configure.in (default_endian): Configure a big-endian simulator
862 by default.
863 * configure: Re-generate.
864
865 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
866
867 * configure: Regenerated to track ../common/aclocal.m4 changes.
868
869 Mon Jan 5 20:38:54 1998 Mark Alexander <marka@cygnus.com>
870
871 * interp.c (sim_monitor): Handle Densan monitor outbyte
872 and inbyte functions.
873
874 1997-12-29 Felix Lee <flee@cygnus.com>
875
876 * interp.c (sim_engine_run): msvc cpp barfs on #if (a==b!=c).
877
878 Wed Dec 17 14:48:20 1997 Jeffrey A Law (law@cygnus.com)
879
880 * Makefile.in (tmp-igen): Arrange for $zero to always be
881 reset to zero after every instruction.
882
883 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
884
885 * configure: Regenerated to track ../common/aclocal.m4 changes.
886 * config.in: Ditto.
887
888 Wed Dec 10 17:10:45 1997 Jeffrey A Law (law@cygnus.com)
889
890 * mips.igen (MSUB): Fix to work like MADD.
891 * gencode.c (MSUB): Similarly.
892
893 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
894
895 * configure: Regenerated to track ../common/aclocal.m4 changes.
896
897 Wed Nov 26 11:00:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
898
899 * mips.igen (LWC1): Correct assembler - lwc1 not swc1.
900
901 Sun Nov 23 01:45:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
902
903 * sim-main.h (sim-fpu.h): Include.
904
905 * interp.c (convert, SquareRoot, Recip, Divide, Multiply, Sub,
906 Add, Negate, AbsoluteValue, Equal, Less, Infinity, NaN): Rewrite
907 using host independant sim_fpu module.
908
909 Thu Nov 20 19:56:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
910
911 * interp.c (signal_exception): Report internal errors with SIGABRT
912 not SIGQUIT.
913
914 * sim-main.h (C0_CONFIG): New register.
915 (signal.h): No longer include.
916
917 * interp.c (decode_coproc): Allow access C0_CONFIG to register.
918
919 Tue Nov 18 15:33:48 1997 Doug Evans <devans@canuck.cygnus.com>
920
921 * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
922
923 Fri Nov 14 11:56:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
924
925 * mips.igen: Tag vr5000 instructions.
926 (ANDI): Was missing mipsIV model, fix assembler syntax.
927 (do_c_cond_fmt): New function.
928 (C.cond.fmt): Handle mips I-III which do not support CC field
929 separatly.
930 (bc1): Handle mips IV which do not have a delaed FCC separatly.
931 (SDR): Mask paddr when BigEndianMem, not the converse as specified
932 in IV3.2 spec.
933 (DMULT, DMULTU): Force use of hosts 64bit multiplication. Handle
934 vr5000 which saves LO in a GPR separatly.
935
936 * configure.in (enable-sim-igen): For vr5000, select vr5000
937 specific instructions.
938 * configure: Re-generate.
939
940 Wed Nov 12 14:42:52 1997 Andrew Cagney <cagney@b1.cygnus.com>
941
942 * Makefile.in (SIM_OBJS): Add sim-fpu module.
943
944 * interp.c (store_fpr), sim-main.h: Add separate fmt_uninterpreted_32 and
945 fmt_uninterpreted_64 bit cases to switch. Convert to
946 fmt_formatted,
947
948 * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Define,
949
950 * mips.igen (SWR): Mask paddr when BigEndianMem, not the converse
951 as specified in IV3.2 spec.
952 (MTC1, DMTC1): Call StoreFPR to store the GPR in the FPR.
953
954 Tue Nov 11 12:38:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
955
956 * mips.igen: Delay slot branches add OFFSET to NIA not CIA.
957 (MFC0, MTC0, SWC1, LWC1, SDC1, LDC1): Implement.
958 (MTC1, MFC1, DMTC1, DMFC1, CFC1, CTC1): Implement separate non
959 PENDING_FILL versions of instructions. Simplify.
960 (X): New function.
961 (MULT, MULTU): Implement separate RD==0 and RD!=0 versions of
962 instructions.
963 (BEQZ, ..., SLT, SLTI, TLT, TLE, TLI, ...): Explicitly cast GPR to
964 a signed value.
965 (MTHI, MFHI): Disable code checking HI-LO.
966
967 * sim-main.h (dotrace,tracefh), interp.c: Make dotrace & tracefh
968 global.
969 (NULLIFY_NEXT_INSTRUCTION): Call dotrace.
970
971 Thu Nov 6 16:36:35 1997 Andrew Cagney <cagney@b1.cygnus.com>
972
973 * gencode.c (build_mips16_operands): Replace IPC with cia.
974
975 * interp.c (sim_monitor, signal_exception, cache_op, store_fpr,
976 value_fpr, cop_ld, cop_lw, cop_sw, cop_sd, decode_coproc): Replace
977 IPC to `cia'.
978 (UndefinedResult): Replace function with macro/function
979 combination.
980 (sim_engine_run): Don't save PC in IPC.
981
982 * sim-main.h (IPC): Delete.
983
984
985 * interp.c (signal_exception, store_word, load_word,
986 address_translation, load_memory, store_memory, cache_op,
987 prefetch, sync_operation, ifetch, value_fpr, store_fpr, convert,
988 cop_lw, cop_ld, cop_sw, cop_sd, decode_coproc, sim_monitor): Add
989 current instruction address - cia - argument.
990 (sim_read, sim_write): Call address_translation directly.
991 (sim_engine_run): Rename variable vaddr to cia.
992 (signal_exception): Pass cia to sim_monitor
993
994 * sim-main.h (SignalException, LoadWord, StoreWord, CacheOp,
995 Prefetch, SyncOperation, ValueFPR, StoreFPR, Convert, COP_LW,
996 COP_LD, COP_SW, COP_SD, DecodeCoproc): Update.
997
998 * sim-main.h (SignalExceptionSimulatorFault): Delete definition.
999 * interp.c (sim_open): Replace SignalExceptionSimulatorFault with
1000 SIM_ASSERT.
1001
1002 * interp.c (signal_exception): Pass restart address to
1003 sim_engine_restart.
1004
1005 * Makefile.in (semantics.o, engine.o, support.o, itable.o,
1006 idecode.o): Add dependency.
1007
1008 * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESUME_HOOK):
1009 Delete definitions
1010 (DELAY_SLOT): Update NIA not PC with branch address.
1011 (NULLIFY_NEXT_INSTRUCTION): Set NIA to instruction after next.
1012
1013 * mips.igen: Use CIA not PC in branch calculations.
1014 (illegal): Call SignalException.
1015 (BEQ, ADDIU): Fix assembler.
1016
1017 Wed Nov 5 12:19:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
1018
1019 * m16.igen (JALX): Was missing.
1020
1021 * configure.in (enable-sim-igen): New configuration option.
1022 * configure: Re-generate.
1023
1024 * sim-main.h (MAX_INSNS, INSN_NAME): Define.
1025
1026 * interp.c (load_memory, store_memory): Delete parameter RAW.
1027 (sim_read, sim_write): Use sim_core_{read,write}_buffer directly
1028 bypassing {load,store}_memory.
1029
1030 * sim-main.h (ByteSwapMem): Delete definition.
1031
1032 * Makefile.in (SIM_OBJS): Add sim-memopt module.
1033
1034 * interp.c (sim_do_command, sim_commands): Delete mips specific
1035 commands. Handled by module sim-options.
1036
1037 * sim-main.h (SIM_HAVE_FLATMEM): Undefine, use sim-core.o module.
1038 (WITH_MODULO_MEMORY): Define.
1039
1040 * interp.c (sim_info): Delete code printing memory size.
1041
1042 * interp.c (mips_size): Nee sim_size, delete function.
1043 (power2): Delete.
1044 (monitor, monitor_base, monitor_size): Delete global variables.
1045 (sim_open, sim_close): Delete code creating monitor and other
1046 memory regions. Use sim-memopts module, via sim_do_commandf, to
1047 manage memory regions.
1048 (load_memory, store_memory): Use sim-core for memory model.
1049
1050 * interp.c (address_translation): Delete all memory map code
1051 except line forcing 32 bit addresses.
1052
1053 Wed Nov 5 11:21:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1054
1055 * sim-main.h (WITH_TRACE): Delete definition. Enables common
1056 trace options.
1057
1058 * interp.c (logfh, logfile): Delete globals.
1059 (sim_open, sim_close): Delete code opening & closing log file.
1060 (mips_option_handler): Delete -l and -n options.
1061 (OPTION mips_options): Ditto.
1062
1063 * interp.c (OPTION mips_options): Rename option trace to dinero.
1064 (mips_option_handler): Update.
1065
1066 Wed Nov 5 09:35:59 1997 Andrew Cagney <cagney@b1.cygnus.com>
1067
1068 * interp.c (fetch_str): New function.
1069 (sim_monitor): Rewrite using sim_read & sim_write.
1070 (sim_open): Check magic number.
1071 (sim_open): Write monitor vectors into memory using sim_write.
1072 (MONITOR_BASE, MONITOR_SIZE, MEM_SIZE): Define.
1073 (sim_read, sim_write): Simplify - transfer data one byte at a
1074 time.
1075 (load_memory, store_memory): Clarify meaning of parameter RAW.
1076
1077 * sim-main.h (isHOST): Defete definition.
1078 (isTARGET): Mark as depreciated.
1079 (address_translation): Delete parameter HOST.
1080
1081 * interp.c (address_translation): Delete parameter HOST.
1082
1083 Wed Oct 29 11:13:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
1084
1085 * mips.igen:
1086
1087 * Makefile.in (IGEN_INCLUDE): Files included by mips.igen.
1088 (tmp-igen, tmp-m16): Depend on IGEN_INCLUDE.
1089
1090 Tue Oct 28 11:06:47 1997 Andrew Cagney <cagney@b1.cygnus.com>
1091
1092 * mips.igen: Add model filter field to records.
1093
1094 Mon Oct 27 17:53:59 1997 Andrew Cagney <cagney@b1.cygnus.com>
1095
1096 * Makefile.in (SIM_NO_CFLAGS): Define. Define WITH_IGEN=0.
1097
1098 interp.c (sim_engine_run): Do not compile function sim_engine_run
1099 when WITH_IGEN == 1.
1100
1101 * configure.in (sim_igen_flags, sim_m16_flags): Set according to
1102 target architecture.
1103
1104 Makefile.in (tmp-igen, tmp-m16): Drop -F and -M options to
1105 igen. Replace with configuration variables sim_igen_flags /
1106 sim_m16_flags.
1107
1108 * m16.igen: New file. Copy mips16 insns here.
1109 * mips.igen: From here.
1110
1111 Mon Oct 27 13:53:59 1997 Andrew Cagney <cagney@b1.cygnus.com>
1112
1113 * Makefile.in (SIM_NO_OBJ): Define, move SIM_M16_OBJ, SIM_IGEN_OBJ
1114 to top.
1115 (tmp-igen, tmp-m16): Pass -I srcdir to igen.
1116
1117 Sat Oct 25 16:51:40 1997 Gavin Koch <gavin@cygnus.com>
1118
1119 * gencode.c (build_instruction): Follow sim_write's lead in using
1120 BigEndianMem instead of !ByteSwapMem.
1121
1122 Fri Oct 24 17:41:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
1123
1124 * configure.in (sim_gen): Dependent on target, select type of
1125 generator. Always select old style generator.
1126
1127 configure: Re-generate.
1128
1129 Makefile.in (tmp-igen, tmp-m16, clean-m16, clean-igen): New
1130 targets.
1131 (SIM_M16_CFLAGS, SIM_M16_ALL, SIM_M16_OBJ, BUILT_SRC_FROM_M16,
1132 SIM_IGEN_CFLAGS, SIM_IGEN_ALL, SIM_IGEN_OBJ, BUILT_SRC_FROM_IGEN,
1133 IGEN_TRACE, IGEN_INSN, IGEN_DC): Define
1134 (SIM_EXTRA_CFLAGS, SIM_EXTRA_ALL, SIM_OBJS): Add member
1135 SIM_@sim_gen@_*, set by autoconf.
1136
1137 Wed Oct 22 12:52:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
1138
1139 * sim-main.h (NULLIFY_NEXT_INSTRUCTION, DELAY_SLOT): Define.
1140
1141 * interp.c (ColdReset): Remove #ifdef HASFPU, check
1142 CURRENT_FLOATING_POINT instead.
1143
1144 * interp.c (ifetch32): New function. Fetch 32 bit instruction.
1145 (address_translation): Raise exception InstructionFetch when
1146 translation fails and isINSTRUCTION.
1147
1148 * interp.c (sim_open, sim_write, sim_monitor, store_word,
1149 sim_engine_run): Change type of of vaddr and paddr to
1150 address_word.
1151 (address_translation, prefetch, load_memory, store_memory,
1152 cache_op): Change type of vAddr and pAddr to address_word.
1153
1154 * gencode.c (build_instruction): Change type of vaddr and paddr to
1155 address_word.
1156
1157 Mon Oct 20 15:29:04 1997 Andrew Cagney <cagney@b1.cygnus.com>
1158
1159 * sim-main.h (ALU64_END, ALU32_END): Use ALU*_OVERFLOW_RESULT
1160 macro to obtain result of ALU op.
1161
1162 Tue Oct 21 17:39:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
1163
1164 * interp.c (sim_info): Call profile_print.
1165
1166 Mon Oct 20 13:31:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1167
1168 * Makefile.in (SIM_OBJS): Add sim-profile.o module.
1169
1170 * sim-main.h (WITH_PROFILE): Do not define, defined in
1171 common/sim-config.h. Use sim-profile module.
1172 (simPROFILE): Delete defintion.
1173
1174 * interp.c (PROFILE): Delete definition.
1175 (mips_option_handler): Delete 'p', 'y' and 'x' profile options.
1176 (sim_close): Delete code writing profile histogram.
1177 (mips_set_profile, mips_set_profile_size, writeout16, writeout32):
1178 Delete.
1179 (sim_engine_run): Delete code profiling the PC.
1180
1181 Mon Oct 20 13:31:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1182
1183 * sim-main.h (SIGNEXTEND): Force type of result to unsigned_word.
1184
1185 * interp.c (sim_monitor): Make register pointers of type
1186 unsigned_word*.
1187
1188 * sim-main.h: Make registers of type unsigned_word not
1189 signed_word.
1190
1191 Thu Oct 16 10:31:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
1192
1193 * interp.c (sync_operation): Rename from SyncOperation, make
1194 global, add SD argument.
1195 (prefetch): Rename from Prefetch, make global, add SD argument.
1196 (decode_coproc): Make global.
1197
1198 * sim-main.h (SyncOperation, DecodeCoproc, Pefetch): Define.
1199
1200 * gencode.c (build_instruction): Generate DecodeCoproc not
1201 decode_coproc calls.
1202
1203 * interp.c (SETFCC, GETFCC, PREVCOC1): Move to sim-main.h
1204 (SizeFGR): Move to sim-main.h
1205 (simHALTEX, simHALTIN, simTRACE, simPROFILE, simDELAYSLOT,
1206 simSIGINT, simJALDELAYSLOT): Move to sim-main.h
1207 (FP_FLAGS, FP_ENABLE, FP_CAUSE, IR, UF, OF, DZ, IO, UO): Move to
1208 sim-main.h.
1209 (FP_FS, FP_MASK_RM, FP_SH_RM, FP_RM_NEAREST, FP_RM_TOPINF,
1210 FP_RM_TOMINF, GETRM): Move to sim-main.h.
1211 (Uncached, CachedNoncoherent, CachedCoherent, Cached,
1212 isINSTRUCTION, ..., AccessLength_BYTE, ...): Move to sim-main.h.
1213 (UserMode, BigEndianMem, ByteSwapMem, ReverseEndian,
1214 BigEndianCPU, status_KSU_mask, ...). Moved to sim-main.h
1215
1216 * sim-main.h (ALU32_END, ALU64_END): Define. When overflow raise
1217 exception.
1218 (sim-alu.h): Include.
1219 (NULLIFY_NIA, NULL_CIA, CPU_CIA): Define.
1220 (sim_cia): Typedef to instruction_address.
1221
1222 Thu Oct 16 10:31:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
1223
1224 * Makefile.in (interp.o): Rename generated file engine.c to
1225 oengine.c.
1226
1227 * interp.c: Update.
1228
1229 Thu Oct 16 10:31:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
1230
1231 * gencode.c (build_instruction): Use FPR_STATE not fpr_state.
1232
1233 Thu Oct 16 10:31:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
1234
1235 * gencode.c (build_instruction): For "FPSQRT", output correct
1236 number of arguments to Recip.
1237
1238 Tue Oct 14 17:38:18 1997 Andrew Cagney <cagney@b1.cygnus.com>
1239
1240 * Makefile.in (interp.o): Depends on sim-main.h
1241
1242 * interp.c (mips16_entry, ColdReset,dotrace): Add SD argument. Use GPR not registers.
1243
1244 * sim-main.h (sim_cpu): Add registers, register_widths, fpr_state,
1245 ipc, dspc, pending_*, hiaccess, loaccess, state, dsstate fields.
1246 (REGISTERS, REGISTER_WIDTHS, FPR_STATE, IPC, DSPC, PENDING_*,
1247 STATE, DSSTATE): Define
1248 (GPR, FGRIDX, ..): Define.
1249
1250 * interp.c (registers, register_widths, fpr_state, ipc, dspc,
1251 pending_*, hiaccess, loaccess, state, dsstate): Delete globals.
1252 (GPR, FGRIDX, ...): Delete macros.
1253
1254 * interp.c: Update names to match defines from sim-main.h
1255
1256 Tue Oct 14 15:11:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
1257
1258 * interp.c (sim_monitor): Add SD argument.
1259 (sim_warning): Delete. Replace calls with calls to
1260 sim_io_eprintf.
1261 (sim_error): Delete. Replace calls with sim_io_error.
1262 (open_trace, writeout32, writeout16, getnum): Add SD argument.
1263 (mips_set_profile): Rename from sim_set_profile. Add SD argument.
1264 (mips_set_profile_size): Rename from sim_set_profile_size. Add SD
1265 argument.
1266 (mips_size): Rename from sim_size. Add SD argument.
1267
1268 * interp.c (simulator): Delete global variable.
1269 (callback): Delete global variable.
1270 (mips_option_handler, sim_open, sim_write, sim_read,
1271 sim_store_register, sim_fetch_register, sim_info, sim_do_command,
1272 sim_size,sim_monitor): Use sim_io_* not callback->*.
1273 (sim_open): ZALLOC simulator struct.
1274 (PROFILE): Do not define.
1275
1276 Tue Oct 14 13:35:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
1277
1278 * interp.c (sim_open), support.h: Replace CHECKSIM macro found in
1279 support.h with corresponding code.
1280
1281 * sim-main.h (word64, uword64), support.h: Move definition to
1282 sim-main.h.
1283 (WORD64LO, WORD64HI, SET64LO, SET64HI, WORD64, UWORD64): Ditto.
1284
1285 * support.h: Delete
1286 * Makefile.in: Update dependencies
1287 * interp.c: Do not include.
1288
1289 Tue Oct 14 13:35:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
1290
1291 * interp.c (address_translation, load_memory, store_memory,
1292 cache_op): Rename to from AddressTranslation et.al., make global,
1293 add SD argument
1294
1295 * sim-main.h (AddressTranslation, LoadMemory, StoreMemory,
1296 CacheOp): Define.
1297
1298 * interp.c (SignalException): Rename to signal_exception, make
1299 global.
1300
1301 * interp.c (Interrupt, ...): Move definitions to sim-main.h.
1302
1303 * sim-main.h (SignalException, SignalExceptionInterrupt,
1304 SignalExceptionInstructionFetch, SignalExceptionAddressStore,
1305 SignalExceptionAddressLoad, SignalExceptionSimulatorFault,
1306 SignalExceptionIntegerOverflow, SignalExceptionCoProcessorUnusable):
1307 Define.
1308
1309 * interp.c, support.h: Use.
1310
1311 Tue Oct 14 13:19:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1312
1313 * interp.c (ValueFPR, StoreFPR), sim-main.h: Make global, rename
1314 to value_fpr / store_fpr. Add SD argument.
1315 (NaN, Infinity, Less, Equal, AbsoluteValue, Negate, Add, Sub,
1316 Multiply, Divide, Recip, SquareRoot, Convert): Make global.
1317
1318 * sim-main.h (ValueFPR, StoreFPR): Define.
1319
1320 Tue Oct 14 13:06:55 1997 Andrew Cagney <cagney@b1.cygnus.com>
1321
1322 * interp.c (sim_engine_run): Check consistency between configure
1323 WITH_TARGET_WORD_BITSIZE and WITH_FLOATING_POINT and gensim GPRLEN
1324 and HASFPU.
1325
1326 * configure.in (mips_bitsize): Configure WITH_TARGET_WORD_BITSIZE.
1327 (mips_fpu): Configure WITH_FLOATING_POINT.
1328 (mips_endian): Configure WITH_TARGET_ENDIAN.
1329 * configure: Update.
1330
1331 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1332
1333 * configure: Regenerated to track ../common/aclocal.m4 changes.
1334
1335 Mon Sep 29 14:45:00 1997 Bob Manson <manson@charmed.cygnus.com>
1336
1337 * configure: Regenerated.
1338
1339 Fri Sep 26 12:48:18 1997 Mark Alexander <marka@cygnus.com>
1340
1341 * interp.c: Allow Debug, DEPC, and EPC registers to be examined in GDB.
1342
1343 Thu Sep 25 11:15:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1344
1345 * gencode.c (print_igen_insn_models): Assume certain architectures
1346 include all mips* instructions.
1347 (print_igen_insn_format): Use data_size==-1 as marker for MIPS16
1348 instruction.
1349
1350 * Makefile.in (tmp.igen): Add target. Generate igen input from
1351 gencode file.
1352
1353 * gencode.c (FEATURE_IGEN): Define.
1354 (main): Add --igen option. Generate output in igen format.
1355 (process_instructions): Format output according to igen option.
1356 (print_igen_insn_format): New function.
1357 (print_igen_insn_models): New function.
1358 (process_instructions): Only issue warnings and ignore
1359 instructions when no FEATURE_IGEN.
1360
1361 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1362
1363 * interp.c (COP_SD, COP_LD): Add UNUSED to pacify GCC for some
1364 MIPS targets.
1365
1366 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1367
1368 * configure: Regenerated to track ../common/aclocal.m4 changes.
1369
1370 Tue Sep 23 10:19:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
1371
1372 * Makefile.in (SIM_ALIGNMENT, SIM_ENDIAN, SIM_HOSTENDIAN,
1373 SIM_RESERVED_BITS): Delete, moved to common.
1374 (SIM_EXTRA_CFLAGS): Update.
1375
1376 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1377
1378 * configure.in: Configure non-strict memory alignment.
1379 * configure: Regenerated to track ../common/aclocal.m4 changes.
1380
1381 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1382
1383 * configure: Regenerated to track ../common/aclocal.m4 changes.
1384
1385 Sat Sep 20 14:07:28 1997 Gavin Koch <gavin@cygnus.com>
1386
1387 * gencode.c (SDBBP,DERET): Added (3900) insns.
1388 (RFE): Turn on for 3900.
1389 * interp.c (DebugBreakPoint,DEPC,Debug,Debug_*): Added.
1390 (dsstate): Made global.
1391 (SUBTARGET_R3900): Added.
1392 (CANCELDELAYSLOT): New.
1393 (SignalException): Ignore SystemCall rather than ignore and
1394 terminate. Add DebugBreakPoint handling.
1395 (decode_coproc): New insns RFE, DERET; and new registers Debug
1396 and DEPC protected by SUBTARGET_R3900.
1397 (sim_engine_run): Use CANCELDELAYSLOT rather than clearing
1398 bits explicitly.
1399 * Makefile.in,configure.in: Add mips subtarget option.
1400 * configure: Update.
1401
1402 Fri Sep 19 09:33:27 1997 Gavin Koch <gavin@cygnus.com>
1403
1404 * gencode.c: Add r3900 (tx39).
1405
1406
1407 Tue Sep 16 15:52:04 1997 Gavin Koch <gavin@cygnus.com>
1408
1409 * gencode.c (build_instruction): Don't need to subtract 4 for
1410 JALR, just 2.
1411
1412 Tue Sep 16 11:32:28 1997 Gavin Koch <gavin@cygnus.com>
1413
1414 * interp.c: Correct some HASFPU problems.
1415
1416 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1417
1418 * configure: Regenerated to track ../common/aclocal.m4 changes.
1419
1420 Fri Sep 12 12:01:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
1421
1422 * interp.c (mips_options): Fix samples option short form, should
1423 be `x'.
1424
1425 Thu Sep 11 09:35:29 1997 Andrew Cagney <cagney@b1.cygnus.com>
1426
1427 * interp.c (sim_info): Enable info code. Was just returning.
1428
1429 Tue Sep 9 17:30:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1430
1431 * interp.c (decode_coproc): Clarify warning about unsuported MTC0,
1432 MFC0.
1433
1434 Tue Sep 9 16:28:28 1997 Andrew Cagney <cagney@b1.cygnus.com>
1435
1436 * gencode.c (build_instruction): Use SIGNED64 for 64 bit
1437 constants.
1438 (build_instruction): Ditto for LL.
1439
1440 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1441
1442 * configure: Regenerated to track ../common/aclocal.m4 changes.
1443
1444 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1445
1446 * configure: Regenerated to track ../common/aclocal.m4 changes.
1447 * config.in: Ditto.
1448
1449 Wed Aug 27 14:12:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
1450
1451 * interp.c (sim_open): Add call to sim_analyze_program, update
1452 call to sim_config.
1453
1454 Tue Aug 26 10:40:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
1455
1456 * interp.c (sim_kill): Delete.
1457 (sim_create_inferior): Add ABFD argument. Set PC from same.
1458 (sim_load): Move code initializing trap handlers from here.
1459 (sim_open): To here.
1460 (sim_load): Delete, use sim-hload.c.
1461
1462 * Makefile.in (SIM_OBJS): Add sim-hload.o module.
1463
1464 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1465
1466 * configure: Regenerated to track ../common/aclocal.m4 changes.
1467 * config.in: Ditto.
1468
1469 Mon Aug 25 15:59:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
1470
1471 * interp.c (sim_open): Add ABFD argument.
1472 (sim_load): Move call to sim_config from here.
1473 (sim_open): To here. Check return status.
1474
1475 Fri Jul 25 15:00:45 1997 Gavin Koch <gavin@cygnus.com>
1476
1477 * gencode.c (build_instruction): Two arg MADD should
1478 not assign result to $0.
1479
1480 Thu Jun 26 12:13:17 1997 Angela Marie Thomas (angela@cygnus.com)
1481
1482 * sim/mips/configure: Change default_sim_endian to 0 (bi-endian)
1483 * sim/mips/configure.in: Regenerate.
1484
1485 Wed Jul 9 10:29:21 1997 Andrew Cagney <cagney@critters.cygnus.com>
1486
1487 * interp.c (SUB_REG_UW, SUB_REG_SW, SUB_REG_*): Use more explicit
1488 signed8, unsigned8 et.al. types.
1489
1490 * interp.c (SUB_REG_FETCH): Handle both little and big endian
1491 hosts when selecting subreg.
1492
1493 Wed Jul 2 11:54:10 1997 Jeffrey A Law (law@cygnus.com)
1494
1495 * interp.c (sim_engine_run): Reset the ZERO register to zero
1496 regardless of FEATURE_WARN_ZERO.
1497 * gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO.
1498
1499 Wed Jun 4 10:43:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
1500
1501 * interp.c (decode_coproc): Implement MTC0 N, CAUSE.
1502 (SignalException): For BreakPoints ignore any mode bits and just
1503 save the PC.
1504 (SignalException): Always set the CAUSE register.
1505
1506 Tue Jun 3 05:00:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
1507
1508 * interp.c (SignalException): Clear the simDELAYSLOT flag when an
1509 exception has been taken.
1510
1511 * interp.c: Implement the ERET and mt/f sr instructions.
1512
1513 Sat May 31 00:44:16 1997 Andrew Cagney <cagney@b1.cygnus.com>
1514
1515 * interp.c (SignalException): Don't bother restarting an
1516 interrupt.
1517
1518 Fri May 30 23:41:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
1519
1520 * interp.c (SignalException): Really take an interrupt.
1521 (interrupt_event): Only deliver interrupts when enabled.
1522
1523 Tue May 27 20:08:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
1524
1525 * interp.c (sim_info): Only print info when verbose.
1526 (sim_info) Use sim_io_printf for output.
1527
1528 Tue May 27 14:22:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
1529
1530 * interp.c (CoProcPresent): Add UNUSED attribute - not used by all
1531 mips architectures.
1532
1533 Tue May 27 14:22:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
1534
1535 * interp.c (sim_do_command): Check for common commands if a
1536 simulator specific command fails.
1537
1538 Thu May 22 09:32:03 1997 Gavin Koch <gavin@cygnus.com>
1539
1540 * interp.c (sim_engine_run): ifdef out uses of simSTOP, simSTEP
1541 and simBE when DEBUG is defined.
1542
1543 Wed May 21 09:08:10 1997 Andrew Cagney <cagney@b1.cygnus.com>
1544
1545 * interp.c (interrupt_event): New function. Pass exception event
1546 onto exception handler.
1547
1548 * configure.in: Check for stdlib.h.
1549 * configure: Regenerate.
1550
1551 * gencode.c (build_instruction): Add UNUSED attribute to tempS
1552 variable declaration.
1553 (build_instruction): Initialize memval1.
1554 (build_instruction): Add UNUSED attribute to byte, bigend,
1555 reverse.
1556 (build_operands): Ditto.
1557
1558 * interp.c: Fix GCC warnings.
1559 (sim_get_quit_code): Delete.
1560
1561 * configure.in: Add INLINE, ENDIAN, HOSTENDIAN and WARNINGS.
1562 * Makefile.in: Ditto.
1563 * configure: Re-generate.
1564
1565 * Makefile.in (SIM_OBJS): Add sim-watch.o module.
1566
1567 Tue May 20 15:08:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
1568
1569 * interp.c (mips_option_handler): New function parse argumes using
1570 sim-options.
1571 (myname): Replace with STATE_MY_NAME.
1572 (sim_open): Delete check for host endianness - performed by
1573 sim_config.
1574 (simHOSTBE, simBE): Delete, replaced by sim-endian flags.
1575 (sim_open): Move much of the initialization from here.
1576 (sim_load): To here. After the image has been loaded and
1577 endianness set.
1578 (sim_open): Move ColdReset from here.
1579 (sim_create_inferior): To here.
1580 (sim_open): Make FP check less dependant on host endianness.
1581
1582 * Makefile.in (SIM_RUN_OBJS): Set to nrun.o - use new version or
1583 run.
1584 * interp.c (sim_set_callbacks): Delete.
1585
1586 * interp.c (membank, membank_base, membank_size): Replace with
1587 STATE_MEMORY, STATE_MEM_SIZE, STATE_MEM_BASE.
1588 (sim_open): Remove call to callback->init. gdb/run do this.
1589
1590 * interp.c: Update
1591
1592 * sim-main.h (SIM_HAVE_FLATMEM): Define.
1593
1594 * interp.c (big_endian_p): Delete, replaced by
1595 current_target_byte_order.
1596
1597 Tue May 20 13:55:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1598
1599 * interp.c (host_read_long, host_read_word, host_swap_word,
1600 host_swap_long): Delete. Using common sim-endian.
1601 (sim_fetch_register, sim_store_register): Use H2T.
1602 (pipeline_ticks): Delete. Handled by sim-events.
1603 (sim_info): Update.
1604 (sim_engine_run): Update.
1605
1606 Tue May 20 13:42:03 1997 Andrew Cagney <cagney@b1.cygnus.com>
1607
1608 * interp.c (sim_stop_reason): Move code determining simEXCEPTION
1609 reason from here.
1610 (SignalException): To here. Signal using sim_engine_halt.
1611 (sim_stop_reason): Delete, moved to common.
1612
1613 Tue May 20 10:19:48 1997 Andrew Cagney <cagney@b2.cygnus.com>
1614
1615 * interp.c (sim_open): Add callback argument.
1616 (sim_set_callbacks): Delete SIM_DESC argument.
1617 (sim_size): Ditto.
1618
1619 Mon May 19 18:20:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1620
1621 * Makefile.in (SIM_OBJS): Add common modules.
1622
1623 * interp.c (sim_set_callbacks): Also set SD callback.
1624 (set_endianness, xfer_*, swap_*): Delete.
1625 (host_read_word, host_read_long, host_swap_word, host_swap_long):
1626 Change to functions using sim-endian macros.
1627 (control_c, sim_stop): Delete, use common version.
1628 (simulate): Convert into.
1629 (sim_engine_run): This function.
1630 (sim_resume): Delete.
1631
1632 * interp.c (simulation): New variable - the simulator object.
1633 (sim_kind): Delete global - merged into simulation.
1634 (sim_load): Cleanup. Move PC assignment from here.
1635 (sim_create_inferior): To here.
1636
1637 * sim-main.h: New file.
1638 * interp.c (sim-main.h): Include.
1639
1640 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1641
1642 * configure: Regenerated to track ../common/aclocal.m4 changes.
1643
1644 Wed Apr 23 17:32:19 1997 Doug Evans <dje@canuck.cygnus.com>
1645
1646 * tconfig.in (SIM_HAVE_BIENDIAN): Define.
1647
1648 Mon Apr 21 17:16:13 1997 Gavin Koch <gavin@cygnus.com>
1649
1650 * gencode.c (build_instruction): DIV instructions: check
1651 for division by zero and integer overflow before using
1652 host's division operation.
1653
1654 Thu Apr 17 03:18:14 1997 Doug Evans <dje@canuck.cygnus.com>
1655
1656 * Makefile.in (SIM_OBJS): Add sim-load.o.
1657 * interp.c: #include bfd.h.
1658 (target_byte_order): Delete.
1659 (sim_kind, myname, big_endian_p): New static locals.
1660 (sim_open): Set sim_kind, myname. Move call to set_endianness to
1661 after argument parsing. Recognize -E arg, set endianness accordingly.
1662 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
1663 load file into simulator. Set PC from bfd.
1664 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1665 (set_endianness): Use big_endian_p instead of target_byte_order.
1666
1667 Wed Apr 16 17:55:37 1997 Andrew Cagney <cagney@b1.cygnus.com>
1668
1669 * interp.c (sim_size): Delete prototype - conflicts with
1670 definition in remote-sim.h. Correct definition.
1671
1672 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1673
1674 * configure: Regenerated to track ../common/aclocal.m4 changes.
1675 * config.in: Ditto.
1676
1677 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1678
1679 * interp.c (sim_open): New arg `kind'.
1680
1681 * configure: Regenerated to track ../common/aclocal.m4 changes.
1682
1683 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1684
1685 * configure: Regenerated to track ../common/aclocal.m4 changes.
1686
1687 Tue Mar 25 11:38:22 1997 Doug Evans <dje@canuck.cygnus.com>
1688
1689 * interp.c (sim_open): Set optind to 0 before calling getopt.
1690
1691 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1692
1693 * configure: Regenerated to track ../common/aclocal.m4 changes.
1694
1695 Mon Mar 17 10:52:59 1997 Gavin Koch <gavin@cetus.cygnus.com>
1696
1697 * interp.c : Replace uses of pr_addr with pr_uword64
1698 where the bit length is always 64 independent of SIM_ADDR.
1699 (pr_uword64) : added.
1700
1701 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1702
1703 * configure: Re-generate.
1704
1705 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1706
1707 * configure: Regenerate to track ../common/aclocal.m4 changes.
1708
1709 Thu Mar 13 12:51:36 1997 Doug Evans <dje@canuck.cygnus.com>
1710
1711 * interp.c (sim_open): New SIM_DESC result. Argument is now
1712 in argv form.
1713 (other sim_*): New SIM_DESC argument.
1714
1715 Mon Feb 24 22:47:14 1997 Dawn Perchik <dawn@cygnus.com>
1716
1717 * interp.c: Fix printing of addresses for non-64-bit targets.
1718 (pr_addr): Add function to print address based on size.
1719
1720 Wed Feb 19 14:42:09 1997 Mark Alexander <marka@cygnus.com>
1721
1722 * interp.c (simopen): Add support for LSI MiniRISC PMON vectors.
1723
1724 Thu Feb 13 14:08:30 1997 Ian Lance Taylor <ian@cygnus.com>
1725
1726 * gencode.c (build_mips16_operands): Correct computation of base
1727 address for extended PC relative instruction.
1728
1729 Thu Feb 6 17:16:15 1997 Ian Lance Taylor <ian@cygnus.com>
1730
1731 * interp.c (mips16_entry): Add support for floating point cases.
1732 (SignalException): Pass floating point cases to mips16_entry.
1733 (ValueFPR): Don't restrict fmt_single and fmt_word to even
1734 registers.
1735 (StoreFPR): Likewise. Also, don't clobber fpr + 1 for fmt_single
1736 or fmt_word.
1737 (COP_LW): Pass fmt_word rather than fmt_uninterpreted to StoreFPR,
1738 and then set the state to fmt_uninterpreted.
1739 (COP_SW): Temporarily set the state to fmt_word while calling
1740 ValueFPR.
1741
1742 Tue Feb 4 16:48:25 1997 Ian Lance Taylor <ian@cygnus.com>
1743
1744 * gencode.c (build_instruction): The high order may be set in the
1745 comparison flags at any ISA level, not just ISA 4.
1746
1747 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
1748
1749 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
1750 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1751 * configure.in: sinclude ../common/aclocal.m4.
1752 * configure: Regenerated.
1753
1754 Fri Jan 31 11:11:45 1997 Ian Lance Taylor <ian@cygnus.com>
1755
1756 * configure: Rebuild after change to aclocal.m4.
1757
1758 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1759
1760 * configure configure.in Makefile.in: Update to new configure
1761 scheme which is more compatible with WinGDB builds.
1762 * configure.in: Improve comment on how to run autoconf.
1763 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1764 * Makefile.in: Use autoconf substitution to install common
1765 makefile fragment.
1766
1767 Wed Jan 8 12:39:03 1997 Jim Wilson <wilson@cygnus.com>
1768
1769 * gencode.c (build_instruction): Use BigEndianCPU instead of
1770 ByteSwapMem.
1771
1772 Thu Jan 02 22:23:04 1997 Mark Alexander <marka@cygnus.com>
1773
1774 * interp.c (sim_monitor): Make output to stdout visible in
1775 wingdb's I/O log window.
1776
1777 Tue Dec 31 07:04:00 1996 Mark Alexander <marka@cygnus.com>
1778
1779 * support.h: Undo previous change to SIGTRAP
1780 and SIGQUIT values.
1781
1782 Mon Dec 30 17:36:06 1996 Ian Lance Taylor <ian@cygnus.com>
1783
1784 * interp.c (store_word, load_word): New static functions.
1785 (mips16_entry): New static function.
1786 (SignalException): Look for mips16 entry and exit instructions.
1787 (simulate): Use the correct index when setting fpr_state after
1788 doing a pending move.
1789
1790 Sun Dec 29 09:37:18 1996 Mark Alexander <marka@cygnus.com>
1791
1792 * interp.c: Fix byte-swapping code throughout to work on
1793 both little- and big-endian hosts.
1794
1795 Sun Dec 29 09:18:32 1996 Mark Alexander <marka@cygnus.com>
1796
1797 * support.h: Make definitions of SIGTRAP and SIGQUIT consistent
1798 with gdb/config/i386/xm-windows.h.
1799
1800 Fri Dec 27 22:48:51 1996 Mark Alexander <marka@cygnus.com>
1801
1802 * gencode.c (build_instruction): Work around MSVC++ code gen bug
1803 that messes up arithmetic shifts.
1804
1805 Fri Dec 20 11:04:05 1996 Stu Grossman (grossman@critters.cygnus.com)
1806
1807 * support.h: Use _WIN32 instead of __WIN32__. Also add defs for
1808 SIGTRAP and SIGQUIT for _WIN32.
1809
1810 Thu Dec 19 14:07:27 1996 Ian Lance Taylor <ian@cygnus.com>
1811
1812 * gencode.c (build_instruction) [MUL]: Cast operands to word64, to
1813 force a 64 bit multiplication.
1814 (build_instruction) [OR]: In mips16 mode, don't do anything if the
1815 destination register is 0, since that is the default mips16 nop
1816 instruction.
1817
1818 Mon Dec 16 14:59:38 1996 Ian Lance Taylor <ian@cygnus.com>
1819
1820 * gencode.c (MIPS16_DECODE): SWRASP is I8, not RI.
1821 (build_endian_shift): Don't check proc64.
1822 (build_instruction): Always set memval to uword64. Cast op2 to
1823 uword64 when shifting it left in memory instructions. Always use
1824 the same code for stores--don't special case proc64.
1825
1826 * gencode.c (build_mips16_operands): Fix base PC value for PC
1827 relative operands.
1828 (build_instruction): Call JALDELAYSLOT rather than DELAYSLOT for a
1829 jal instruction.
1830 * interp.c (simJALDELAYSLOT): Define.
1831 (JALDELAYSLOT): Define.
1832 (INDELAYSLOT, INJALDELAYSLOT): Define.
1833 (simulate): Clear simJALDELAYSLOT when simDELAYSLOT is cleared.
1834
1835 Tue Dec 24 22:11:20 1996 Angela Marie Thomas (angela@cygnus.com)
1836
1837 * interp.c (sim_open): add flush_cache as a PMON routine
1838 (sim_monitor): handle flush_cache by ignoring it
1839
1840 Wed Dec 11 13:53:51 1996 Jim Wilson <wilson@cygnus.com>
1841
1842 * gencode.c (build_instruction): Use !ByteSwapMem instead of
1843 BigEndianMem.
1844 * interp.c (CONFIG, config_EP_{mask,shift,D,DxxDxx, config_BE): Delete.
1845 (BigEndianMem): Rename to ByteSwapMem and change sense.
1846 (BigEndianCPU, sim_write, LoadMemory, StoreMemory): Change
1847 BigEndianMem references to !ByteSwapMem.
1848 (set_endianness): New function, with prototype.
1849 (sim_open): Call set_endianness.
1850 (sim_info): Use simBE instead of BigEndianMem.
1851 (xfer_direct_word, xfer_direct_long, swap_direct_word,
1852 swap_direct_long, xfer_big_word, xfer_big_long, xfer_little_word,
1853 xfer_little_long, swap_word, swap_long): Delete unnecessary MSC_VER
1854 ifdefs, keeping the prototype declaration.
1855 (swap_word): Rewrite correctly.
1856 (ColdReset): Delete references to CONFIG. Delete endianness related
1857 code; moved to set_endianness.
1858
1859 Tue Dec 10 11:32:04 1996 Jim Wilson <wilson@cygnus.com>
1860
1861 * gencode.c (build_instruction, case JUMP): Truncate PC to 32 bits.
1862 * interp.c (CHECKHILO): Define away.
1863 (simSIGINT): New macro.
1864 (membank_size): Increase from 1MB to 2MB.
1865 (control_c): New function.
1866 (sim_resume): Rename parameter signal to signal_number. Add local
1867 variable prev. Call signal before and after simulate.
1868 (sim_stop_reason): Add simSIGINT support.
1869 (sim_warning, sim_error, dotrace, SignalException): Define as stdarg
1870 functions always.
1871 (sim_warning): Delete call to SignalException. Do call printf_filtered
1872 if logfh is NULL.
1873 (AddressTranslation): Add #ifdef DEBUG around debugging message and
1874 a call to sim_warning.
1875
1876 Wed Nov 27 11:53:50 1996 Ian Lance Taylor <ian@cygnus.com>
1877
1878 * gencode.c (process_instructions): If ! proc64, skip DOUBLEWORD
1879 16 bit instructions.
1880
1881 Tue Nov 26 11:53:12 1996 Ian Lance Taylor <ian@cygnus.com>
1882
1883 Add support for mips16 (16 bit MIPS implementation):
1884 * gencode.c (inst_type): Add mips16 instruction encoding types.
1885 (GETDATASIZEINSN): Define.
1886 (MIPS_DECODE): Add REG flag to dsllv, dsrav, and dsrlv. Add
1887 jalx. Add LEFT flag to mfhi and mflo. Add RIGHT flag to mthi and
1888 mtlo.
1889 (MIPS16_DECODE): New table, for mips16 instructions.
1890 (bitmap_val): New static function.
1891 (struct mips16_op): Define.
1892 (mips16_op_table): New table, for mips16 operands.
1893 (build_mips16_operands): New static function.
1894 (process_instructions): If PC is odd, decode a mips16
1895 instruction. Break out instruction handling into new
1896 build_instruction function.
1897 (build_instruction): New static function, broken out of
1898 process_instructions. Check modifiers rather than flags for SHIFT
1899 bit count and m[ft]{hi,lo} direction.
1900 (usage): Pass program name to fprintf.
1901 (main): Remove unused variable this_option_optind. Change
1902 ``*loptarg++'' to ``loptarg++''.
1903 (my_strtoul): Parenthesize && within ||.
1904 * interp.c (LoadMemory): Accept a halfword pAddr if vAddr is odd.
1905 (simulate): If PC is odd, fetch a 16 bit instruction, and
1906 increment PC by 2 rather than 4.
1907 * configure.in: Add case for mips16*-*-*.
1908 * configure: Rebuild.
1909
1910 Fri Nov 22 08:49:36 1996 Mark Alexander <marka@cygnus.com>
1911
1912 * interp.c: Allow -t to enable tracing in standalone simulator.
1913 Fix garbage output in trace file and error messages.
1914
1915 Wed Nov 20 01:54:37 1996 Doug Evans <dje@canuck.cygnus.com>
1916
1917 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
1918 (SIM_{OBJS,EXTRA_CFLAGS,EXTRA_CLEAN}): Define.
1919 * configure.in: Simplify using macros in ../common/aclocal.m4.
1920 * configure: Regenerated.
1921 * tconfig.in: New file.
1922
1923 Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com>
1924
1925 * interp.c: Fix bugs in 64-bit port.
1926 Use ansi function declarations for msvc compiler.
1927 Initialize and test file pointer in trace code.
1928 Prevent duplicate definition of LAST_EMED_REGNUM.
1929
1930 Tue Oct 15 11:07:06 1996 Mark Alexander <marka@cygnus.com>
1931
1932 * interp.c (xfer_big_long): Prevent unwanted sign extension.
1933
1934 Thu Sep 26 17:35:00 1996 James G. Smith <jsmith@cygnus.co.uk>
1935
1936 * interp.c (SignalException): Check for explicit terminating
1937 breakpoint value.
1938 * gencode.c: Pass instruction value through SignalException()
1939 calls for Trap, Breakpoint and Syscall.
1940
1941 Thu Sep 26 11:35:17 1996 James G. Smith <jsmith@cygnus.co.uk>
1942
1943 * interp.c (SquareRoot): Add HAVE_SQRT check to ensure sqrt() is
1944 only used on those hosts that provide it.
1945 * configure.in: Add sqrt() to list of functions to be checked for.
1946 * config.in: Re-generated.
1947 * configure: Re-generated.
1948
1949 Fri Sep 20 15:47:12 1996 Ian Lance Taylor <ian@cygnus.com>
1950
1951 * gencode.c (process_instructions): Call build_endian_shift when
1952 expanding STORE RIGHT, to fix swr.
1953 * support.h (SIGNEXTEND): If the sign bit is not set, explicitly
1954 clear the high bits.
1955 * interp.c (Convert): Fix fmt_single to fmt_long to not truncate.
1956 Fix float to int conversions to produce signed values.
1957
1958 Thu Sep 19 15:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
1959
1960 * gencode.c (MIPS_DECODE): Set UNSIGNED for multu instruction.
1961 (process_instructions): Correct handling of nor instruction.
1962 Correct shift count for 32 bit shift instructions. Correct sign
1963 extension for arithmetic shifts to not shift the number of bits in
1964 the type. Fix 64 bit multiply high word calculation. Fix 32 bit
1965 unsigned multiply. Fix ldxc1 and friends to use coprocessor 1.
1966 Fix madd.
1967 * interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC.
1968 It's OK to have a mult follow a mult. What's not OK is to have a
1969 mult follow an mfhi.
1970 (Convert): Comment out incorrect rounding code.
1971
1972 Mon Sep 16 11:38:16 1996 James G. Smith <jsmith@cygnus.co.uk>
1973
1974 * interp.c (sim_monitor): Improved monitor printf
1975 simulation. Tidied up simulator warnings, and added "--log" option
1976 for directing warning message output.
1977 * gencode.c: Use sim_warning() rather than WARNING macro.
1978
1979 Thu Aug 22 15:03:12 1996 Ian Lance Taylor <ian@cygnus.com>
1980
1981 * Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
1982 getopt1.o, rather than on gencode.c. Link objects together.
1983 Don't link against -liberty.
1984 (gencode.o, getopt.o, getopt1.o): New targets.
1985 * gencode.c: Include <ctype.h> and "ansidecl.h".
1986 (AND): Undefine after including "ansidecl.h".
1987 (ULONG_MAX): Define if not defined.
1988 (OP_*): Don't define macros; now defined in opcode/mips.h.
1989 (main): Call my_strtoul rather than strtoul.
1990 (my_strtoul): New static function.
1991
1992 Wed Jul 17 18:12:38 1996 Stu Grossman (grossman@critters.cygnus.com)
1993
1994 * gencode.c (process_instructions): Generate word64 and uword64
1995 instead of `long long' and `unsigned long long' data types.
1996 * interp.c: #include sysdep.h to get signals, and define default
1997 for SIGBUS.
1998 * (Convert): Work around for Visual-C++ compiler bug with type
1999 conversion.
2000 * support.h: Make things compile under Visual-C++ by using
2001 __int64 instead of `long long'. Change many refs to long long
2002 into word64/uword64 typedefs.
2003
2004 Wed Jun 26 12:24:55 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
2005
2006 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
2007 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
2008 (docdir): Removed.
2009 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
2010 (AC_PROG_INSTALL): Added.
2011 (AC_PROG_CC): Moved to before configure.host call.
2012 * configure: Rebuilt.
2013
2014 Wed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk>
2015
2016 * configure.in: Define @SIMCONF@ depending on mips target.
2017 * configure: Rebuild.
2018 * Makefile.in (run): Add @SIMCONF@ to control simulator
2019 construction.
2020 * gencode.c: Change LOADDRMASK to 64bit memory model only.
2021 * interp.c: Remove some debugging, provide more detailed error
2022 messages, update memory accesses to use LOADDRMASK.
2023
2024 Mon Jun 3 11:55:03 1996 Ian Lance Taylor <ian@cygnus.com>
2025
2026 * configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,
2027 AC_CHECK_LIB, and AC_CHECK_FUNCS. Change AC_OUTPUT to set
2028 stamp-h.
2029 * configure: Rebuild.
2030 * config.in: New file, generated by autoheader.
2031 * interp.c: Include "config.h". Include <stdlib.h>, <string.h>,
2032 and <strings.h> if they exist. Replace #ifdef sun with #ifdef
2033 HAVE_ANINT and HAVE_AINT, as appropriate.
2034 * Makefile.in (run): Use @LIBS@ rather than -lm.
2035 (interp.o): Depend upon config.h.
2036 (Makefile): Just rebuild Makefile.
2037 (clean): Remove stamp-h.
2038 (mostlyclean): Make the same as clean, not as distclean.
2039 (config.h, stamp-h): New targets.
2040
2041 Fri May 10 00:41:17 1996 James G. Smith <jsmith@cygnus.co.uk>
2042
2043 * interp.c (ColdReset): Fix boolean test. Make all simulator
2044 globals static.
2045
2046 Wed May 8 15:12:58 1996 James G. Smith <jsmith@cygnus.co.uk>
2047
2048 * interp.c (xfer_direct_word, xfer_direct_long,
2049 swap_direct_word, swap_direct_long, xfer_big_word,
2050 xfer_big_long, xfer_little_word, xfer_little_long,
2051 swap_word,swap_long): Added.
2052 * interp.c (ColdReset): Provide function indirection to
2053 host<->simulated_target transfer routines.
2054 * interp.c (sim_store_register, sim_fetch_register): Updated to
2055 make use of indirected transfer routines.
2056
2057 Fri Apr 19 15:48:24 1996 James G. Smith <jsmith@cygnus.co.uk>
2058
2059 * gencode.c (process_instructions): Ensure FP ABS instruction
2060 recognised.
2061 * interp.c (AbsoluteValue): Add routine. Also provide simple PMON
2062 system call support.
2063
2064 Wed Apr 10 09:51:38 1996 James G. Smith <jsmith@cygnus.co.uk>
2065
2066 * interp.c (sim_do_command): Complain if callback structure not
2067 initialised.
2068
2069 Thu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk>
2070
2071 * interp.c (Convert): Provide round-to-nearest and round-to-zero
2072 support for Sun hosts.
2073 * Makefile.in (gencode): Ensure the host compiler and libraries
2074 used for cross-hosted build.
2075
2076 Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>
2077
2078 * interp.c, gencode.c: Some more (TODO) tidying.
2079
2080 Thu Mar 7 11:19:33 1996 James G. Smith <jsmith@cygnus.co.uk>
2081
2082 * gencode.c, interp.c: Replaced explicit long long references with
2083 WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
2084 * support.h (SET64LO, SET64HI): Macros added.
2085
2086 Wed Feb 21 12:16:21 1996 Ian Lance Taylor <ian@cygnus.com>
2087
2088 * configure: Regenerate with autoconf 2.7.
2089
2090 Tue Jan 30 08:48:18 1996 Fred Fish <fnf@cygnus.com>
2091
2092 * interp.c (LoadMemory): Enclose text following #endif in /* */.
2093 * support.h: Remove superfluous "1" from #if.
2094 * support.h (CHECKSIM): Remove stray 'a' at end of line.
2095
2096 Mon Dec 4 11:44:40 1995 Jamie Smith <jsmith@cygnus.com>
2097
2098 * interp.c (StoreFPR): Control UndefinedResult() call on
2099 WARN_RESULT manifest.
2100
2101 Fri Dec 1 16:37:19 1995 James G. Smith <jsmith@cygnus.co.uk>
2102
2103 * gencode.c: Tidied instruction decoding, and added FP instruction
2104 support.
2105
2106 * interp.c: Added dineroIII, and BSD profiling support. Also
2107 run-time FP handling.
2108
2109 Sun Oct 22 00:57:18 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
2110
2111 * Changelog, Makefile.in, README.Cygnus, configure, configure.in,
2112 gencode.c, interp.c, support.h: created.
This page took 0.076563 seconds and 4 git commands to generate.