Nick Clifton
2bc8946db8
Commit Sh2E addition
2003-02-06 10:42:33 +00:00
Kazu Hirata
ec38ce9947
* compile.c (init_pointers): Abort if wreg never gets initialized.
...
(sim_resume): Fix the handling of exts.w and extu.w.
2003-02-05 23:10:27 +00:00
Kazu Hirata
ad4cda162b
* compile.c (sim_resume): Fix the handling of bxor.
2003-02-01 03:00:14 +00:00
Michael Snyder
837fd61c26
Missed one...
2003-01-16 20:03:30 +00:00
Michael Snyder
a4f27e3e0a
2003-01-16 Michael Snyder <msnyder@redhat.com>
...
* compile.c: Change K&R function definitions to ISO.
(fetch): Make static, and eliminate unused parameter 'n'.
2003-01-16 19:54:35 +00:00
Chris Demetriou
d29e330fda
2003-01-14 Chris Demetriou <cgd@broadcom.com>
...
* mips.igen (LUXC1, SUXC1): New, for mipsV and mips64.
2003-01-14 19:01:41 +00:00
Chris Demetriou
a2353a08ac
2003-01-14 Chris Demetriou <cgd@broadcom.com>
...
* mips.igen (EI, DI): Remove.
2003-01-14 18:15:08 +00:00
Ben Elliston
45fdcabea2
2003-01-10 Ben Elliston <bje@redhat.com>
...
* README.Cygnus: Rename from this ..
* README: .. to this.
2003-01-10 05:27:17 +00:00
Ben Elliston
7f53bce4e3
* remove duplicated entry from 2002-05-17 on 2002-05-20.
...
* s/SWI_TARGET_SWITCHES/SIM_TARGET_SWITCHES/.
2003-01-10 04:51:58 +00:00
Kazu Hirata
45a15d6f78
* run.c (usage): Fix typos.
2003-01-08 17:18:29 +00:00
Chris Demetriou
805517776c
2003-01-05 Richard Sandiford <rsandifo@redhat.com>
...
* Makefile.in (tmp-run-multi): Fix mips16 filter.
2003-01-06 01:57:40 +00:00
Chris Demetriou
4c54fc26ed
2003-01-04 Richard Sandiford <rsandifo@redhat.com>
...
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-05 07:56:59 +00:00
Chris Demetriou
e6c674b896
2003-01-04 Chris Demetriou <cgd@broadcom.com>
...
* configure.in: Use SIM_AC_OPTION_RESERVED_BITS(1).
* configure: Regenerate.
2003-01-05 06:13:51 +00:00
Chris Demetriou
28f50ac815
2002-12-31 Chris Demetriou <cgd@broadcom.com>
...
* 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-31 21:31:32 +00:00
Kazu Hirata
d0fe2f7e74
* compile.c: Fix formatting.
...
* inst.h: Likewise.
2002-12-26 05:44:46 +00:00
Doug Evans
574654558a
* arch.c,arch.h,cpuall.h: Regenerate.
...
* 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-20 02:26:35 +00:00
Chris Demetriou
5071ffe6bf
2002-12-16 Chris Demetriou <cgd@broadcom.com>
...
* tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h".
2002-12-17 07:27:53 +00:00
Andrew Cagney
0da2b66558
2002-11-30 Andrew Cagney <cagney@redhat.com>
...
* simops.c: Use int, 1, 0 instead of boolean, true and false.
* sim-main.h: Ditto.
2002-11-30 18:01:30 +00:00
Andrew Cagney
6c0a25e9f8
2002-11-28 Andrew Cagney <cagney@redhat.com>
...
* sim-main.h: Only include "idecode.h" once.
* Makefile.in (SIM_EXTRA_DEPS): Define.
2002-11-28 18:08:26 +00:00
Chris Demetriou
127a77fee0
2002-11-27 Richard Sandiford <rsandifo@redhat.com>
...
* sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
2002-11-28 01:32:03 +00:00
Andrew Cagney
b85e4829fa
2002-11-22 Andrew Cagney <ac131313@redhat.com>
...
* 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-23 01:12:05 +00:00
Andrew Cagney
1fdb3c684d
2002-11-22 Andrew Cagney <cagney@redhat.com>
...
* 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-22 23:20:46 +00:00
Andrew Cagney
4e0bf4c4d0
2002-11-21 Andrew Cagney <ac131313@redhat.com>
...
* 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-22 04:20:49 +00:00
Andrew Cagney
feaee4bdbb
2002-11-21 Andrew Cagney <ac131313@redhat.com>
...
* 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-22 04:09:40 +00:00
Andrew Cagney
d25b15536c
Index: common/ChangeLog
...
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-14 02:54:14 +00:00
Chris Demetriou
ac835424b5
2002-11-06 Richard Sandiford <rsandifo@redhat.com>
...
* 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-06 18:41:09 +00:00
Chris Demetriou
d690312feb
2002-11-06 Richard Sandiford <rsandifo@redhat.com>
...
* Make-common.in (SIM_EXTRA_DISTCLEAN): New macro.
(distclean): Depend on it.
2002-11-06 18:40:25 +00:00
Alan Modra
7c3e3b337e
* cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
2002-10-14 10:55:39 +00:00
Joern Rennecke
fd8f4948fe
gcc uses trap 33 for profiling, but the simulator didn't support it.
...
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-10-11 15:31:28 +00:00
Jim Wilson
30458d39d6
Fix handling of v850e bit-twiddle instructions.
...
* simops.c (OP_E6077E0): And op1 with 7 after reading register, not
before.
(BIT_CHANGE_OP): Likewise.
2002-09-30 20:11:08 +00:00
Andrew Cagney
058f270dea
Add support for -m option. Fix PR gdb/433.
2002-09-27 23:57:50 +00:00
Andrew Cagney
fe1198e63e
2002-09-27 Andrew Cagney <ac131313@redhat.com>
...
* hw_disk.c (hw_disk_init_address): Set device type to "block",
not "disk".
2002-09-27 21:02:14 +00:00
Jim Wilson
2e8162cedb
Fix bug in support for trap instruction.
...
* simops (OP_10007E0): Don't subtract 4 from PC.
2002-09-27 18:59:08 +00:00
Nick Clifton
5d6a173dca
Remove v850ea references
2002-09-19 07:52:02 +00:00
Dave Brolley
7ede505aef
2002-08-29 Dave Brolley <brolley@redhat.com>
...
* Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
2002-08-29 19:27:52 +00:00
Nick Clifton
e551c2572e
Makefile.in: Add gen-zero-r0 option.
...
sim-main.h (GPR_SET, GPR_CLEAR): Define.
simops.c (OP_24007E0): Sign extend the imm9 operand of a mul instruction.
2002-08-29 16:59:20 +00:00
Dave Brolley
051b807af7
2002-08-28 Dave Brolley <brolley@redhat.com>
...
* gen-support.c (gen_support_h): Generate
'#define semantic_illegal <PREFIX>_semantic_illegal'.
2002-08-28 16:01:31 +00:00
Geoffrey Keating
a926ab2fb9
* MAINTAINERS: Change my mailing address.
2002-08-24 22:43:50 +00:00
Chris Demetriou
dff11de0d8
2002-08-22 Chris Demetriou <cgd@broadcom.com>
...
* compare_igen_models: New script.
2002-08-23 06:26:05 +00:00
Nick Clifton
2ec3c90a77
oops - fix typo in previous delta
2002-08-16 09:38:09 +00:00
Nick Clifton
c7a7b500fd
Catch and ignore SWIs of -1, they can be caused by an interrupted system
...
call being resumed by GDB.
2002-08-15 14:28:55 +00:00
Stephane Carrez
099d1b506b
* dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
2002-08-13 09:01:16 +00:00
Stephane Carrez
31c7c532ab
* interp.c (sim_prepare_for_program): Look up the image for the
...
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 08:52:02 +00:00
Stephane Carrez
3976210097
* interp.c (sim_hw_configure): Return 1 for success.
...
(sim_prepare_for_program): Use the sim_hw_configure exit code to
return SIM_RC_FAIL.
2002-08-13 08:47:18 +00:00
Stephane Carrez
ca156d780d
Fix english and ChangeLog entry
2002-08-13 08:40:32 +00:00
Stephane Carrez
7230d80931
* dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory
...
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 08:38:09 +00:00
Stephane Carrez
dcceded28a
* interp.c (sim_hw_configure): Connect port-X to cpu-write-port.
...
* dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input.
(m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.
2002-08-13 08:10:45 +00:00
Stephane Carrez
abea9e28ea
* dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
...
when IO mapping changed, not when internal RAM mapping is changed.
2002-08-13 07:57:18 +00:00
Stephane Carrez
63f36def60
* m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
...
* 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-08-13 07:46:09 +00:00
Chris Demetriou
06e7837e0f
2002-07-30 Chris Demetriou <cgd@broadcom.com>
...
* 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-31 05:44:54 +00:00