aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
1998-08-24* sim-main.h (SIM_HANDLES_LMA): Define SIM_HANDLES_LMA.Joyce Janczyn1-0/+14
1998-08-24* sim-hw.{c,h} (sim_hw_parse): Return struct hw pointer.Joyce Janczyn1-0/+13
1998-08-18fix broken sanitizationKen Raeburn1-94/+137
1998-08-12sanitize-vr5400 -> sanitize-cygnus, for 98r2Ken Raeburn2-17/+17
1998-08-06 * sim-main.h: track COP2 register definitions, define VIO_BASERon Unrau1-4/+4
* interp.c (sim_{fetch,store}_register): read/write VU0/1 control regs * sky-gdb.c: use VIO_BASE * sky-pke.h: move GDB_COMM area
1998-08-04 Rename cpu m32r to m32rb to distinguish from architecture name.Doug Evans1-57/+57
* Makefile.in (mloop.c): cpu m32r renamed to m32rb. (stamp-cpu): Ditto. * sim-main.h (WANT_CPU_M32RB): Renamed from WANT_CPU_M32R. * tconfig.in (WANT_CPU_M32RB): Ditto. * m32r.c (WANT_CPU_M32RB): Ditto. (*): m32r_ cpu fns renamed to m32rb_. * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Update. * arch.h,arch.c: Regenerate. * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. * sem-switch.c,sem.c: Regenerate. * sim-if.c (sim_open): Don't allocate memory on top of any user specified memory. (h_gr_get,h_gr_set): Delete. * sim-main.h (h_gr_get,h_gr_set): Delete. * traps.c (m32r_trap): Replace calls to h_gr_[gs]et with a_m32r_h_gr_[gs]et.
1998-08-03 * Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h.Doug Evans3-117/+41
* sim-if.c (sim_open): Open opcode table. (sim_close): Close it.
1998-08-03 * cgen-sim.h (cgen_state): New member opcode_table.Doug Evans1-1/+8
* cgen-utils.c (sim_disassemble_insn): Use it.
1998-07-31 * sim-main.h: shadow NUM_CORE_REGS from tm-txvu.hRon Unrau3-80/+121
* interp.c: use NUM_CORE_REGS * sky-gdb.c (set_fifo_breakpoints): use VIF interrupt bit for break * sky-pke.c (pke_issue): use interrupt bit for break points
1998-07-31fix sanitizationJeff Holcomb1-1/+1
1998-07-29Fix sanitize misspellings.Jeff Law1-40/+40
1998-07-29Fix incorrect calculation of conditional field when being extractedAndrew Cagney2-1/+15
from a previous decode.
1998-07-28 Add support for new versions of mulwhi,mulwlo,macwhi,macwlo thatDoug Evans2-65/+53
accept an accumulator choice. * cpux.c,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
1998-07-28New testcases for PR 16547 (new instructions added).Doug Evans1-0/+4
1998-07-28Add note about limitations of insn_field_cmp().Andrew Cagney1-3/+6
1998-07-28Problems with conditional instruction-table fields (N!M, N=M, ...).Andrew Cagney2-67/+185
Was restricting `M' to opcode fields in the current word.
1998-07-27 * am33.igen: Detect cases where two operands must not match inJeff Law2-38/+49
non-DSP instructions.
1998-07-25For vr* processors start using vr.igen.Andrew Cagney5-441/+5
Sanitize out README.Cygnus.
1998-07-25Add new file vr.igen which is a merge of vr5400.igen and vr4320.igen.Andrew Cagney3-2/+555
Hack sanitize so that it doesn't sanitize vrXXX when either of keep-vr5400 or keep-vr4320 are specified. Move two basic vr4100 instructions from mips.igen to vr.igen.
1998-07-24Fri Jul 24 18:15:21 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn1-0/+10
* op_utils.c (do_syscall): Rewrite to use common/syscall.c. (syscall_read_mem, syscall_write_mem): New functions for syscall callbacks. * mn10300_sim.h: Add prototypes for syscall_read_mem and syscall_write_mem. * mn10300.igen: Change C++ style comments to C style comments. Check for divide by zero in div and divu ops.
1998-07-24 * m32r.c: Include cgen-mem.h.Doug Evans2-119/+128
* traps.c (m32r_trap): Tweak for -Wall. * m32rx.c: Include cgen-mem.h. * semx.c: Regenerate, get -Wall cleanups.
1998-07-24 * cgen-mem.h (DECLARE_SETT): Fix return type.Doug Evans1-0/+2
1998-07-24 * am33.igen (translate_xreg): New function. Use it as needed.Jeff Law2-28/+39
1998-07-24 * sim-model.c (model_option_handler): Remove unused variable `n'.Doug Evans1-0/+4
1998-07-24 * Makefile.in (clean,mostlyclean): Change leading spaces to a tab.Doug Evans1-1/+7
1998-07-24remove d30v sanitizationIan Lance Taylor5-104/+3
1998-07-23 * am33.igen: Add some missing instructions.Jeff Law2-11/+240
Missed a few last week... Grrr.
1998-07-23 * am33.igen: Autoincrement loads/store fixes.Jeff Law2-34/+259
1998-07-21 * cpu.h,extract.c: Regenerate. pc-rel calcs done on f_dispNN now.Doug Evans5-436/+583
* cpux.h,readx.c,semx.c: Ditto.
1998-07-21 * cgen-utils.c: Include bfd.h.Doug Evans1-0/+9
(sim_disassemble_insn): Update call to CGEN_EXTRACT_FN.
1998-07-21 * am33.igen: Add most am33 DSP instructions.Jeff Law2-15/+3540
1998-07-17Forward fit sky-branch updates to devo.Jillian Ye1-1/+5
1998-07-14fix sanitization; add trap.SJeff Holcomb1-0/+1
1998-07-14Fix goof.Jeff Law1-3/+3
1998-07-09 * am33.igen: Fix Z bit for remaining addc/subc instructions.Jeff Law2-40/+53
Do not sign extend immediate for mov imm,XRn. More random mul, mac & div fixes. Remove some unused variables. Sign extend 24bit displacement in memory addresses. Whee, more fixes.
1998-07-09 * mn10300.igen: Fix Z bit for addc and subc instructions.Jeff Law2-21/+36
Minor fixes in multiply/divide patterns. start-sanitize-am33 * am33.igen: Fix Z bit for addc Rm,Rn and subc Rm,Rn. Various fixes to 2 register multiply, divide and mac instructions. Set Z,N correctly for sat16. Sign extend 24 bit immediate for add, and sub instructions. * am33.igen: Add remaining non-DSP instructions. end-sanitize-am33
1998-07-09 * am33.igen: Add remaining non-DSP instructions.Jeff Law2-20/+690
Lots of work still remains. PSW handing is probably broken badly and the mul/mac classes of instructions are probably not handled correctly.
1998-07-09 * am33.igen (translate_rreg): New function. Use it as appropriate.Jeff Law2-2335/+374
1998-07-08 * am33.igen: More am33 instructions. Fix "div".Jeff Law2-88/+1626
1998-07-08Add a printf fmt style version of sim_events_schedule.Andrew Cagney1-0/+15
This allows the caller to specify extra trace information that is only evaluated when tracing is enabled.
1998-07-06 * mn10300.igen: Add am33 support.Jeff Law2-446/+1365
1998-07-06 * Makefile.in: Use multi-sim to support both a mn10300 and am33Jeff Law2-1/+4
simulator.
1998-07-06 * sim-bits.h (EXTEND24): Define.Jeff Law2-0/+6
1998-07-06 * am33.igen: Add many more am33 instructions.Jeff Law2-84/+1933
1998-07-03 * cgen-sim.h (CPU_SCACHE): Make size unsigned.Doug Evans1-0/+8
(CPU_SCACHE_HASH_MASK): New macro. (SCACHE_HASH_PC): Rewrite. * genmloop.sh (engine_resume_{full,fast}): Move some of hash computation out of main loop.
1998-07-02Add a test case for PR16213.James Lemke1-1/+6
1998-07-02 * Makefile.in: cgen_maint -> CGEN_MAINT.Doug Evans4-396/+762
* configure.in: AC_SUBST cgen,cgendir. No longer look for guile. * configure: Regenerate. * arch.c,arch.h,cpuall.h: Regenerate. * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. * sem-switch.c,sem.c: Regenerate. * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,readx.c: Regenerate. * semx.c: Regenerate. * mloopx.in (icount): Moved here from genmloop.sh.
1998-07-01 * Make-common.in (SCHEME,SCHEMEFLAGS): Delete.Doug Evans3-70/+66
(CGENDIR,CGEN): New variables. (CGEN_VERBOSE): Renamed to CGENFLAGS. (cgen-arch,cgen-cpu,cgen-decode): Update. (CGEN_CPU_WRITE): New variable. (CGEN_CPU_SEMSW): -W -> -X. (CGEN_FLAGS_TO_PASS): Delete SCHEME. Add CGEN,CGENFLAGS. * cgen.sh: Delete args scheme,schemeflags. New arg cgen. * cgen-sim.h (RECORD_IADDR): Delete. * cgen-types.h (HOSTINT,HOSTUINT,HOSTPTR): New types. * genmloop.sh (engine_resume_{full,fast}): Delete icount.
1998-07-01Tweak.Jeff Law1-1/+14
1998-07-01 * am33.igen: New file with some am33 support.Jeff Law3-1/+2344
Checking in work-to-date.