aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
1998-02-04* Update configure: txvu-elf changed to dvp-elf.Ian Carmichael3-55/+89
1998-02-03IGEN - Replace IMEM (IMEM_IMMED) macro with IMEM<insn-size> macro,Andrew Cagney8-75/+229
update v850, tic80 and mips simulators. IGEN - Prepend prefix to more generated symbols and macros (idecode_issue, instruction_word). IGEN - Add -Wnowith option to supress warnings about word size inflicts in input files. MIPS - Clean up Makefile.in, m16.igen, m16.dc (new), m16run.c (new) so that a mips16 simulator built using IGEN can be compiled.
1998-02-03Add sim-main.h to v850e_files for sanitization.Jason Molenda1-1/+1
1998-02-02Make IGEN the generator for all but mips16 simulators.Andrew Cagney1-5/+17
Clean up botched merge in interp.c:sim_open().
1998-02-02Add support for configuring the size of the floating point unit (fp_word).Andrew Cagney5-19/+97
For mips, move fp_registers into a separate array of type fp_word[].
1998-02-02Rewrite the mipsI/II/III pending-slot code.Andrew Cagney3-109/+163
1998-02-02Always compile FP code (test for FP at run-time).Andrew Cagney2-129/+102
Remove dependance of interp.c on gencode.c's output.
1998-02-02New test - verify sdl insn.Andrew Cagney2-0/+43
1998-02-01mips: Add multi-processor support for r5900. Others might work.Andrew Cagney7-324/+465
common, igen: Fix MP related bugs.
1998-01-31Add config support for the size of the target address and OF cell.Andrew Cagney17-131/+289
1998-01-31mips - for r5900 generate igen simulator.Andrew Cagney5-12/+28
igen - stop crash when simulator isn't multi-sim'ed
1998-01-31igen: Fix SMP simulator generator support.Andrew Cagney11-39/+977
Use the bfd-processor name in the sim-engine switch. Add nr_cpus argument to sim_engine_run. tic80, v850, d30v, mips, common: Update mips: Fill in bfd-processor field of model records so that they match ../bfd/archures.
1998-01-29 * Makefile.in (M32RX_OBJS): Comment out until m32rx port working.Doug Evans1-2/+10
* arch.h (HAVE_CPU_M32R{,X}): Delete, moved to m32r-opc.h. * arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry.
1998-01-29 * Makefile.in (M32RX_OBJS): Comment out until m32rx port working.Doug Evans1-1/+1
* arch.h (HAVE_CPU_M32RX): Likewise. * arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry.
1998-01-29 * cgen.sh: Portably read parms past $9.Doug Evans1-0/+4
1998-01-28Print compare bits in human readible formMichael Meissner4-8/+146
1998-01-28* Very, very early support for vu1 based on sce code.Ian Carmichael9-29/+6350
* Modified Files: * ChangeLog Makefile.in hardware.c vu1.c vu1.h * Added Files: * libvpe.c libvpe.h vpe.h vu.h
1998-01-27* Incorporate GPR_SET() macro from mips/sim-main.hIan Carmichael1-0/+4
1998-01-26Exit status is in r0, not r2Michael Meissner1-0/+4
1998-01-25If DEBUG has 0x20 set, turn traps into batch debuggingMichael Meissner1-0/+7
1998-01-23sanitize m32rx piece of _sim_cpuDoug Evans1-8/+10
1998-01-23add m32rx sanitization to tconfig.inDoug Evans1-9/+8
1998-01-23 * Make-common.in (stamp-tvals): New rule.Doug Evans1-0/+6
(targ-vals.h,targ-map.c): Depend on it. (clean): Remove stamp-tvals.
1998-01-23First round of d10v ABI changesMichael Meissner2-68/+78
1998-01-23- added first batch of PKE codeFrank Ch. Eigler10-166/+435
- PKE memory region registration - basic R/W operations - combined pke[01] -> pke
1998-01-22 * interp.c (UMEM_SEGMENTS): New define, set to 128.Fred Fish2-54/+134
(sim_size): Use UMEM_SEGMENTS rather than hardwired constant. (sim_close): Reset prog_bfd to NULL after closing it. Also reset prog_bfd_was_opened_p after closing prog_bfd. (sim_load): Reset prog_bfd_was_opened_p after closing prog_bfd. (sim_create_inferior): Get start address from abfd not prog_bfd. (xfer_mem): Do bounds checking on addresses and return zero length read/write on bad addresses, rather than aborting. Prepare to be able to handle xfers that cross segment boundaries, but not yet implemented. Only emit debug message when d10v_debug is set as well as DEBUG being defined.
1998-01-22* Incorporate GPR_SET() macro from mips/sim-main.hIan Carmichael1-3/+1
1998-01-21Use macro GPR_SET(N,VAL) to clear zero registers.Andrew Cagney5-73/+132
1998-01-21Delete bogus line in ChangeLogAndrew Cagney1-4/+0
1998-01-21#if 0 unused variableMichael Meissner1-0/+5
1998-01-20Fixed duplicate definition of h_accums field in fmt_53_sadd structureNick Clifton1-0/+5
1998-01-20* Devices now get a issue() call.Ian Carmichael12-68/+125
* * Modified Files: * ChangeLog configure engine-sky.c hardware.h pke0.c pke0.h * pke1.c pke1.h vu0.c vu0.h vu1.c vu1.h
1998-01-20Add m32rx sanitization for new files.Doug Evans1-1/+9
1998-01-20 * Makefile.in: Add m32rx objs, and rules to build them.Doug Evans5-4/+5488
* cpux.h, decodex.h, decodex.c, readx.c, semx.c, modelx.c: New files. * m32rx.c, mloopx.in: New files.
1998-01-20Regenerate.Doug Evans2-3/+9
1998-01-20* aclocal.m4: Recognize --enable-maintainer-mode.Doug Evans24-511/+1149
*/configure: Regenerated.
1998-01-20* arch-defs.h: Deleted.Doug Evans2-241/+1184
* sem-switch.c: Regenerate.
1998-01-20* cpu.h: New file.Doug Evans3-0/+907
1998-01-20Regenerate.Doug Evans3-3418/+1187
1998-01-20 * arch.c, arch.h, cpuall.h: New files.Doug Evans11-1837/+496
* arch-defs.h: Deleted. * mloop.in: Renamed from mainloop.in. * sem.c: Renamed from semantics.c. * Makefile.in: Update. * sem-ops.h: Deleted. * mem-ops.h: Deleted. start-sanitize-cygnus Add cgen support for generating files. end-sanitize-cygnus (arch): Renamed from CPU. * decode.c: Redone. * decode.h: Redone. * extract.c: Redone. * model.c: Redone. * sem-switch.c: Redone. * sem.c: Renamed from semantics.c, and redone. * m32r-sim.h (PROFILE_COUNT_FILLNOPS): Update. (GETTWI,SETTWI,BRANCH_NEW_PC): Define. * m32r.c (WANT_CPU,WANT_CPU_M32R): Define. (m32r_{fetch,store}_register): New functions. (model_mark_{get,set}_h_gr): Prefix with m32r_. (m32r_model_mark_{busy,unbusy}_reg): Prefix with m32r_. (h_cr_{get,set}): Prefix with m32r_. (do_trap): Fetch state from current_cpu, not current_state. Call sim_engine_halt instead of engine_halt. * sim-if.c (alloc_cpu): New function. (free_state): New function. (sim_open): Call sim_state_alloc, and malloc space for selected cpu type. Call sim_analyze_program. (sim_create_inferior): Handle selected cpu type when setting PC. start-sanitize-m32rx (sim_resume): Handle m32rx. end-sanitize-m32rx (sim_stop_reason): Deleted. (print_m32r_misc_cpu): Update. start-sanitize-m32rx (sim_{fetch,store}_register): Handle m32rx. end-sanitize-m32rx (sim_{read,write}): Deleted. (sim_engine_illegal_insn): New function. * sim-main.h: Don't include arch-defs.h,sim-core.h,sim-events.h. Include arch.h,cpuall.h. Include cpu.h,decode.h if m32r. start-sanitize-m32rx Include cpux.h,decodex.h if m32rx. end-sanitize-m32rx (_sim_cpu): Include member appropriate cpu_data member for the cpu. (M32R_MISC_PROFILE): Renamed from M32R_PROFILE. (sim_state): Delete members core,events,halt_jmp_buf. Change `cpu' member to be a pointer to the cpu's struct, rather than record inside the state struct. * tconfig.in (WITH_DEVICES): Define here. (WITH_FAST,WITH_SEM_SWITCH_{FULL,FAST}): Define for the cpu.
1998-01-20* Make-common.in (cgen-run.o,cgen-scache.o): Delete cgen-scache.h dep.Doug Evans2-4/+3
1998-01-20sanitize keep-cygnus cgen generationDoug Evans3-1/+41
1998-01-19 * Make-common.in (cgen-{arch,cpu,decode}): New targets.Doug Evans4-3/+220
* cgen.sh: New file. * cgen-scache.h: Deleted. * cgen-scache.c: Only compile contents if WITH_SCACHE. (scache_init): Use runtime computed size of SCACHE. (scache_flush): Likewise. * cgen-mem.h (GETIMEMU[QHSD]I): Declare. ([GS]ETT{QI,UQI,HI,UHI,SI,USI,DI,UDI}): Declare. * cgen-sim.h: Scache support moved here. (PC): Redo definition. (ARGBUF,SCACHE,PARALLEL_EXEC): Provide forward decls. (DECODE): Add parallel execution support. Only include semantic label members if using switch. (SWITCH,CASE,BREAK,DEFAULT,ENDSWITCH): Portable computed goto support. (CGEN_CPU): Delete members exec_state, halt_sigrc, halt_jmp_buf. (IADDR,CIA,SEM_ARG,EX_FN_NAME,SEM_FN_NAME,RECORD_IADDR,SEM_ARGBUF, SEM_NEXT_PC,SEM_BRANCH_VIA_{CACHE,ADDR},SEM_NEW_PC_ADDR): Moved here from cgen-types.h. (engine_{stop,run,resume,halt,signal}): Delete decls. * cgen-types.h (CGEN_{XCAT3,CAT3}): Delete. (argbuf,scache): Delete forward decls. (STATE): Delete decl. * cgen-utils.c: Don't include decode.h, mem-ops.h, sem-ops.h. Include cgen-mem.h, cgen-ops.h. (engine_halt,engine_signal): Delete. ({ex,exc,sem,semc}_illegal): Delete. (sim_disassemble_insn): Result of extract fn is in bits. * genmloop.sh: Rewrite.
1998-01-19 * sim-base.h (sim_state_base): Delete member `model'.Doug Evans1-45/+524
(sim_cpu_base): Add member `model'. * sim-model.h (IMP_PROPERTIES): New type. (MACH): New members imp_props, models. (models): Delete decl. * sim-model.c (set_model): Update. * sim-profile.c (profile_print_model): Update.
1998-01-19 * sim-utils.c (sim_state_alloc): Delete setting of cpu backlink here.Doug Evans1-0/+29
1998-01-19Fix comment.Doug Evans1-0/+78
1998-01-16replaced call to CGEN_INSN_SYNTAX()->mnemonic with CGEN_INSN_MNEMONIC()Nick Clifton2-9/+23
1998-01-16Fix typo: .syntax.name should have been .nameNick Clifton2-2/+11
1998-01-16* Initial Device SupportIan Carmichael34-0/+24805
* *Modified Files: * .Sanitize ChangeLog *Added Files: * Makefile.in README.Cygnus config.in configure configure.in * device.c device.h dma.c dma.h engine-sky.c gencode.c gpuif.c * gpuif.h hardware.c hardware.h interp.c m16.igen mdmx.igen * mips.dc mips.igen pke0.c pke0.h pke1.c pke1.h r5900.igen * sim-main.h tconfig.in vr5400.igen vu0.c vu0.h vu1.c vu1.h
1998-01-16Document existence of old (gencode) and new (igen) MIPS ISA simulators.Andrew Cagney1-0/+39