aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
2003-01-16Missed one...Michael Snyder1-2/+1
2003-01-162003-01-16 Michael Snyder <msnyder@redhat.com>Michael Snyder2-85/+37
* compile.c: Change K&R function definitions to ISO. (fetch): Make static, and eliminate unused parameter 'n'.
2003-01-142003-01-14 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+38
* mips.igen (LUXC1, SUXC1): New, for mipsV and mips64.
2003-01-142003-01-14 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-23/+4
* mips.igen (EI, DI): Remove.
2003-01-102003-01-10 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+5
* README.Cygnus: Rename from this .. * README: .. to this.
2003-01-10* remove duplicated entry from 2002-05-17 on 2002-05-20.Ben Elliston1-23/+1
* s/SWI_TARGET_SWITCHES/SIM_TARGET_SWITCHES/.
2003-01-08 * run.c (usage): Fix typos.Kazu Hirata2-2/+6
2003-01-062003-01-05 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-1/+5
* Makefile.in (tmp-run-multi): Fix mips16 filter.
2003-01-052003-01-04 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou7-54/+896
Andrew Cagney <ac131313@redhat.com> Gavin Romig-Koch <gavin@redhat.com> Graydon Hoare <graydon@redhat.com> Aldy Hernandez <aldyh@redhat.com> Dave Brolley <brolley@redhat.com> Chris Demetriou <cgd@broadcom.com> * configure.in (mips64vr*): Define TARGET_ENABLE_FR to 1. (sim_mach_default): New variable. (mips64vr-*-*, mips64vrel-*-*): New configurations. Add a new simulator generator, MULTI. * configure: Regenerate. * Makefile.in (SIM_MULTI_OBJ, SIM_EXTRA_DISTCLEAN): New variables. (multi-run.o): New dependency. (SIM_MULTI_ALL, SIM_MULTI_IGEN_CONFIGS): New variables. (tmp-mach-multi, tmp-itable-multi, tmp-run-multi): New rules. (tmp-multi): Combine them. (BUILT_SRC_FROM_MULTI): New variable. Depend on tmp-multi. (clean-extra): Remove sources in BUILT_SRC_FROM_MULTI. (distclean-extra): New rule. * sim-main.h: Include bfd.h. (MIPS_MACH): New macro. * mips.igen (vr4120, vr5400, vr5500): New models. (clo, clz, dclo, dclz, madd, maddu, msub, msub, mul): Add *vr5500. * vr.igen: Replace with new version.
2003-01-052003-01-04 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-161/+186
* configure.in: Use SIM_AC_OPTION_RESERVED_BITS(1). * configure: Regenerate.
2002-12-312002-12-31 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-40/+6
* sim-main.h (check_branch_bug, mark_branch_bug): Remove. * mips.igen: Remove all invocations of check_branch_bug and mark_branch_bug.
2002-12-26 * compile.c: Fix formatting.Kazu Hirata3-40/+51
* inst.h: Likewise.
2002-12-20 * arch.c,arch.h,cpuall.h: Regenerate.Doug Evans17-253/+265
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate. * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.
2002-12-172002-12-16 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-2/+6
* tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h".
2002-11-302002-11-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-21/+26
* simops.c: Use int, 1, 0 instead of boolean, true and false. * sim-main.h: Ditto.
2002-11-282002-11-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-1/+7
* sim-main.h: Only include "idecode.h" once. * Makefile.in (SIM_EXTRA_DEPS): Define.
2002-11-282002-11-27 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-27/+5
* sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
2002-11-232002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney36-669/+778
* dv-core.c: Update copyright. sim/common contributed to the FSF. * dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto. * hw-device.h, hw-handles.c, hw-handles.h: Ditto. * hw-instances.c, hw-instances.h, hw-properties.c: Ditto. * hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto. * sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto. * sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto. * sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto. * sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto. * sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.
2002-11-222002-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-14/+52
* gen.c (name_cmp): Rename format_name_cmp. (insn_list_insert): When a merge, compare the format name and instruction name. Add trace messages.
2002-11-222002-11-21 Andrew Cagney <ac131313@redhat.com>Andrew Cagney34-3113/+2750
* filter.c: Re-indent. * filter.h, filter_host.h, gen-engine.c, gen-engine.h: Ditto. * gen-icache.c, gen-icache.h, gen-idecode.c: Ditto. * gen-idecode.h, gen-itable.c, gen-itable.h: Ditto. * gen-model.c, gen-model.h, gen-semantics.c: Ditto. * gen-semantics.h, gen-support.c, gen-support.h: Ditto. * gen.c, gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto. * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto. * lf.h, misc.c, misc.h, table.c, table.h: Ditto.
2002-11-222002-11-21 Andrew Cagney <ac131313@redhat.com>Andrew Cagney36-661/+790
* Makefile.in: Update copyright. IGEN contributed to the FSF. * filter.c, filter.h, filter_host.c, filter_host.h: Ditto. * gen-engine.c, gen-engine.h, gen-icache.c, gen-icache.h: Ditto. * gen-idecode.c, gen-idecode.h, gen-itable.c: Ditto. * gen-itable.h, gen-model.c, gen-model.h, gen-semantics.c: Ditto. * gen-semantics.h, gen-support.c, gen-support.h, gen.c: Ditto. * gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto. * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto. * lf.h, misc.c, misc.h, table.c, table.h: Ditto.
2002-11-14Index: common/ChangeLogAndrew Cagney4-1/+12
2002-11-13 Andrew Cagney <cagney@redhat.com> * run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif. Index: d10v/ChangeLog 2002-11-13 Andrew Cagney <cagney@redhat.com> * simops.c: Include <string.h>.
2002-11-062002-11-06 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-8/+10
* gen-engine.c (print_engine_issue_prefix_hook): Don't add the global prefix to ENGINE_ISSUE_PREFIX_HOOK. (print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK.
2002-11-062002-11-06 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-1/+8
* Make-common.in (SIM_EXTRA_DISTCLEAN): New macro. (distclean): Depend on it.
2002-10-14 * cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.Alan Modra2-1/+5
2002-10-11gcc uses trap 33 for profiling, but the simulator didn't support it.Joern Rennecke3-27/+33
This patch fixes the gcc.dg/nest.c failures for sh-elf. Fri Oct 11 16:22:28 2002 J"orn Rennecke <joern.rennecke@superh.com> * interp.c (trap): Return int. Take extra parameter for address of the trap instruction. Changed all callers. Add case 33 for profiling. * gencode.c (trapa): Handle trap 33 using the trap function. Add read of vector for generic traps.
2002-09-30Fix handling of v850e bit-twiddle instructions.Jim Wilson2-2/+8
* simops.c (OP_E6077E0): And op1 with 7 after reading register, not before. (BIT_CHANGE_OP): Likewise.
2002-09-27Add support for -m option. Fix PR gdb/433.Andrew Cagney2-2/+25
2002-09-272002-09-27 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+6
* hw_disk.c (hw_disk_init_address): Set device type to "block", not "disk".
2002-09-27Fix bug in support for trap instruction.Jim Wilson2-1/+5
* simops (OP_10007E0): Don't subtract 4 from PC.
2002-09-19Remove v850ea referencesNick Clifton4-329/+8
2002-08-292002-08-29 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+5
* Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
2002-08-29Makefile.in: Add gen-zero-r0 option.Nick Clifton4-1/+13
sim-main.h (GPR_SET, GPR_CLEAR): Define. simops.c (OP_24007E0): Sign extend the imm9 operand of a mul instruction.
2002-08-282002-08-28 Dave Brolley <brolley@redhat.com>Dave Brolley2-4/+19
* gen-support.c (gen_support_h): Generate '#define semantic_illegal <PREFIX>_semantic_illegal'.
2002-08-24 * MAINTAINERS: Change my mailing address.Geoffrey Keating2-1/+5
2002-08-232002-08-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+117
* compare_igen_models: New script.
2002-08-16oops - fix typo in previous deltaNick Clifton1-2/+2
2002-08-15Catch and ignore SWIs of -1, they can be caused by an interrupted systemNick Clifton2-0/+19
call being resumed by GDB.
2002-08-13 * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.Stephane Carrez2-3/+7
2002-08-13 * interp.c (sim_prepare_for_program): Look up the image for theStephane Carrez2-1/+30
reset vector and set cpu_use_elf_start to 1 if not found. (sim_open): Do not set cpu_use_elf_start.
2002-08-13 * interp.c (sim_hw_configure): Return 1 for success.Stephane Carrez2-3/+11
(sim_prepare_for_program): Use the sim_hw_configure exit code to return SIM_RC_FAIL.
2002-08-13Fix english and ChangeLog entryStephane Carrez1-4/+1
2002-08-13 * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memoryStephane Carrez3-1/+40
bank window to some virtual address to read from extended memory. (m68hc11cpu_io_write_buffer): Likewise for writing. (attach_m68hc11_regs): When use_bank property is defined, attached to the 68HC12 16K memory bank window. * interp.c (sim_hw_configure): Create memory region for banked memory.
2002-08-13 * interp.c (sim_hw_configure): Connect port-X to cpu-write-port.Stephane Carrez3-1/+23
* dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input. (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.
2002-08-13 * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mappingStephane Carrez2-2/+7
when IO mapping changed, not when internal RAM mapping is changed.
2002-08-13 * m68hc11_sim.c (cpu_special): Handle call and rtc instructions.Stephane Carrez5-23/+137
* sim-main.h (M6812_CALL_INDIRECT): Add to enum. (m6811_regs): Add page register. (cpu_set_page, cpu_get_page): New macros. (phys_to_virt): New function. (cpu_get_indexed_operand_addr, cpu_return): Declare. * gencode.c: Identify indirect addressing mode for call and fix daa. (gen_function_entry): New param to tell if src8/dst8 locals are necessary. (gen_interpreter): Use it to avoid generation of unused variables. * interp.c (sim_fetch_register): Allow to read page register; page register, A, B and CCR are only 1 byte wide. (sim_store_register): Likewise for writing.
2002-07-312002-07-30 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-4/+98
* mips.igen (do_load_double, do_store_double): New functions. (LDC1, SDC1): Rename to... (LDC1b, SDC1b): respectively. (LDC1a, SDC1a): New instructions for MIPS II and MIPS32 support.
2002-07-292002-07-29 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+7
* cp1.c (fp_recip2): Modify initialization expression so that GCC will recognize it as constant.
2002-07-29Add dependences to Makefile.in and include sim-h8300 in compile.cAndrey Volkov3-2/+11
2002-07-18Delete w65 directory.Andrew Cagney11-5658/+4