aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
1998-04-03c_gen.pl: Added sub-routine process_data_reg64 to handle 64bit registerJillian Ye2-6/+36
writes.
1998-04-03Don't bother generating trace prefix string when not tracing.Andrew Cagney3-99/+117
1998-04-02 * sim-main.h: add vif registersRon Unrau2-146/+167
* interp.c: incorporate vif register load/store * sky-pke.[ch]: add register load/store routines * sku-vu.c: P register is float
1998-04-02Re-do load/store operations so that they work for both 32 and 64 bitAndrew Cagney5-19/+72
ISAs. Enable tx39 as igen again.
1998-04-02For mips get_mem_size call. Force the return of a 32 bit valueAndrew Cagney3-46/+16
regardless of the target's word bitsize.
1998-04-01sky-vu.[ch]: prototype decls, cast floats to ints before register transferRon Unrau2-54/+152
interp.c: integrate VU register read/writes sim-main.h : track tm-txvu.h
1998-04-01* You bop one on the head ... another one appears.Frank Ch. Eigler2-2/+12
Wed Apr 1 08:20:31 1998 Frank Ch. Eigler <fche@cygnus.com> * mips.igen (SQC2/LQC2): Make bodies sky-target-only also.
1998-04-01* configure.in (SIM_AC_OPTION_WARNINGS): Add.Andrew Cagney2-0/+8
configure: Re-generate.
1998-03-31 * sky-dma.c: Clarify text in warning msg.James Lemke1-3/+27
* interp.c: Add global option "float-type". * sky-vu.h: Add SIM_DESC sd; to VectorUnitState for accessing global options.
1998-03-30* Continuing sky R5900 / COP2 work. Added extra sanitize tags to hideFrank Ch. Eigler3-61/+113
128-bit MIPS part. [ChangeLog] Mon Mar 30 18:41:43 1998 Frank Ch. Eigler <fche@cygnus.com> * interp.c (decode_coproc): Continuing COP2 work. (cop_[ls]q): Hide 128-bit COP2 more. * sim-main.h (COP_[LS]Q): Hide 128-bit COP2 more. [ChangeLog.sky] Mon Mar 30 18:44:15 1998 Frank Ch. Eigler <fche@cygnus.com> * sky-libvpe.c: Code too wide - ran indent on SCEI code. * sky-vu.h (vu0_busy*, vu0_macro*): New entry points for COP2 interface. * sky-vu.c (vu0_busy*, vu0_macro*): Stub functions for above.
1998-03-30 * configure.in (mipstx39*-*-*): Use gencode simulator ratherGavin Romig-Koch3-74/+76
than igen one. * configure : Rebuild.
1998-03-30* run.c (main): Handle all alternatives of enum sim_stop.Andrew Cagney1-0/+5
(main): Delete unused `asection *s'.
1998-03-29* Oops, added #ifdef TARGET_SKY around R5900 COP2 implementation skeleton.Frank Ch. Eigler2-0/+10
1998-03-28* Updated test cases to confirm PKE behavior according to new SCEI specs.Frank Ch. Eigler28-1576/+196
1998-03-28* Modified sky PKE behavior according to new SCEI specs.Frank Ch. Eigler1-9/+11
1998-03-27* Inserted skeleton of R5900 COP2 simulation. Merged old vu[01].[ch] codeFrank Ch. Eigler12-506/+864
into single PKE-style vu.[ch]. [ChangeLog] Fri Mar 27 16:19:29 1998 Frank Ch. Eigler <fche@cygnus.com> start-sanitize-sky * Makefile.in (SIM_SKY_OBJS): Replaced sky-vu[01].o with sky-vu.o. * interp.c (sim_{load,store}_register): Use new vu[01]_device static to access VU registers. (decode_coproc): Added skeleton of sky COP2 (VU) instruction decoding. Work in progress. * mips.igen (LDCzz, SDCzz): Removed *5900 case for this overlapping/redundant bit pattern. (LQC2, SQC2): Added *5900 COP2 instruction skeleta. Work in progress. * sim-main.h (status_CU[012]): Added COP[n]-enabled flags for status register. end-sanitize-sky * interp.c (cop_lq, cop_sq): New functions for future 128-bit access to coprocessor registers. * sim-main.h (COP_LQ, COP_SQ): New macro front-ends for above. [ChangeLog.sky] * sky-engine.c (engine_run): Adapted from vu[01] -> vu merge. * sky-hardware.c (register_devices): Ditto * sky-pke.c (pke_fifo_*): Made these functions private again, now that the GPUIF code does not use them. * sky-pke.h (pke_fifo_*): Removed newly private declarations. * sky-vu.c (*): Major rework: merge of old sky-vu0.c and sky-vu1.c. Management of two VU devices parallels two PKEs. Work in progress. * sky-vu.h (*): Other half of merge. (vu_device): New struct, parallel to pke_device.
1998-03-27sky-gs.c: initial drop of GS control registers (outstanding questions)Patrick Macdonald1-0/+1
sky-gs.h: initial drop of GS control registers Makefile.in: added sky-gs.o to sanitized list sky-gpuif.c (gif_io_write_buffer): correct memset length error, renamed trace file for gif
1998-03-27 * sky-vu.c: new file to read/write VU registersRon Unrau7-154/+70
* Makefile.in .Sanitize: add sky-vu.c * sky-vu.h: define registers as enum, export read/write routines * sky-vu[01].[ch]: use register read/write routines in sky-vu.c * interp.c: use register read/write routines in sky-vu.c
1998-03-27Do top level sim-hw module for device tree.Andrew Cagney12-40/+234
Add to aclocal.m4, update all configure files.
1998-03-27Clean up m32rx sanitizationAndrew Cagney1-2/+31
1998-03-27Define CPU_INDEX. Initialize.Andrew Cagney5-25/+62
For mips_options, iterate over MAX_NR_PROCESSORS when setting options.
1998-03-27Add sanitize-am30 markers. Keep details of AM30 implementation ofAndrew Cagney7-48/+161
mn10300 out of the public eye. Do something with top-level cgen directory.
1998-03-26* dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of succeedingAndrew Cagney2-2/+14
interrupts, clear pending_handler when the handler isn't re-scheduled.
1998-03-26 * Makefile.in (tmp-igen): Prefix all usage of move-if-changeStu Grossman1-0/+6
script with $(SHELL) to make NT native builds happy. * configure: Regenerate because of change to ../common/aclocal.m4.
1998-03-26* configure.in: Make --enable-sim-common the default.Andrew Cagney3-4/+12
* configure: Re-generate. * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction address into Sate.regs[REG_PC] instead of common struct.
1998-03-25* dv-pal.c (enum hw_pal_address_mask): From Stu Grossman, was 0x2fAndrew Cagney1-0/+5
needs to be 0x3f.
1998-03-25 * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.Joyce Janczyn2-1/+5
1998-03-25* hw-tree.c (hw_tree_find_property): Return NULL when device is not found.Andrew Cagney2-2/+20
(hw_tree_find_*_property): Clean up error message when property is not found. * dv-pal.c (hw_pal_io_read_buffer): Check the smp property is present before looking for it.
1998-03-25* Added HAVE_FPU_CONTROL_H and HAVE___SETFPUCW to fix non-linux builds.Ian Carmichael2-2/+8
1998-03-25 * simops.c (OP_F0FD): Initialise variable 'sp' for rti instruction.Joyce Janczyn2-0/+5
1998-03-25* dv-mn103int.c (decode_group): A group register every 4 bytes not 8.Andrew Cagney1-0/+7
(write_icr): Rewrite equation updating request field. (read_iagr): Fix check that interrupt is still pending.
1998-03-25* interp.c (sim_open): Tidy up device creation.Andrew Cagney3-48/+89
* dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero value. (mn103int_io_read_buffer): Convert absolute address to register block offsets. (read_icr, write_icr): Convert block offset into group offset.
1998-03-25* interp.c (sim_open): Create second 1mb memory region at 0x40000000.Andrew Cagney7-197/+1433
(sim_open): Create a device tree. (sim-hw.h): Include. (do_interrupt): Delete, needs to use dv-mn103cpu.c * dv-mn103int.c, dv-mn103cpu.c: New files.
1998-03-25* mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM): Define.Andrew Cagney1-0/+6
(SP): Define.
1998-03-25* dv-pal.c (hw_pal_countdown, hw_pal_countdown_value,Andrew Cagney3-64/+278
hw_pal_timer, hw_pal_timer_value): Define. (hw_pal_io_read_buffer, hw_pal_io_write_buffer): Add timer support (do_counter_event, do_counter_read, do_counter_value, do_counter_write): new functions. * hw-tree.c (hw_printf): Send tree dump to stderr, same as other trace output. * hw-base.c (hw_create): Stop searching for a device when one is found.
1998-03-25Re-do --enable-sim-hardware so that each simulator can specify the devicesAndrew Cagney10-199/+253
it wants built. Generate hw-config.h.
1998-03-25Pacify GCC.Andrew Cagney6-51/+72
1998-03-24* interp.c (Max, Min): Comment out functions. Not yet used.Andrew Cagney2-1/+15
* vr4320.igen (DCLZ): Pacify GCC, 64 bit arg, int format.
1998-03-24* Several fixes and performance enhancements from my 2 weeks working in Japan.Ian Carmichael2-1/+5
1998-03-24* gen-engine.c (print_run_body): Re-extract the CIA afterAndrew Cagney1-0/+5
processing any events. Events may not restart the simulator.
1998-03-24Add new files: mn10300.igen, mn10300.dc, sim-main.h, op_utils.cJoyce Janczyn1-0/+4
1998-03-24Port mn10300 simulator to build with the common simulator frameworkJoyce Janczyn1-0/+41
under the configure option --enable-sim-common.
1998-03-24Add code to support building mn10300 simulator with the common simulatorJoyce Janczyn1-79/+398
framework.
1998-03-24Add support for building simulator based on common simulator framework.Joyce Janczyn1-5/+110
Separate out files which get compiled depending on --enable-sim-common configuration.
1998-03-24Add ability to configure mn10300 built with common simulator code base.Joyce Janczyn2-50/+551
Use --enable-sim-common to build this way; default configure has not changed.
1998-03-24New {load/store}_{byte/half/word} macros for simulator built withJoyce Janczyn1-5/+209
common framework.
1998-03-24Header file required by igen generated files.Joyce Janczyn1-0/+96
1998-03-24IGEN input files for mn10300 simulator.Joyce Janczyn2-0/+3524
1998-03-24 * Makefile.in: Get SHELL from configure.Stu Grossman1-0/+16
* configure: Regenerate with autoconf 2.12.1 to fix shell issues for NT native builds.
1998-03-24 * Make-common.in: Get SHELL from configure.Stu Grossman3-39/+225
* (stamp-tvals sim-inline.c): Use $(SHELL) when invoking move-if-change. Fixes NT native build problem. * Makefile.in (nltvals.def): Use $(SHELL) when invoking move-if-change. Fixes NT native build problem. * configure: Regenerate with autoconf 2.12.1 to fix shell issues for NT native builds.