aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
2003-11-032003-11-03 Dave Brolley <brolley@redhat.com>Dave Brolley2-3/+17
* cache.c (address_interference): Check for higher priority requests in the same pipeline.
2003-11-03 * interp.c (fsca_s, fsrra_s): New functions.Joern Rennecke3-6/+87
* gencode.c (tab): Add entries for fsca and fsrra. (expand_opcode): Allow variable length n / m fields.
2003-10-31 Fix more typosDave Brolley1-1/+1
2003-10-31Fix typos.Dave Brolley1-2/+2
2003-10-312003-10-31 Dave Brolley <brolley@redhat.com>Dave Brolley3-8/+38
* frv-sim.h (REGNUM_LR): Removed. (REGNUM_SPR_MIN,REGNUM_SPR_MAX): New macros. * frv.c (frvbf_fetch_register): Fetch SPR registers based on REGNUM_SPR_MIN and REGNUM_SPR_MAX. Check whether SPRs are implemented. Return 0 for an unimplemented register. Return the length of the data for an implemented register. (frvbf_store_register): Ditto.
2003-10-31Index: sim/frv/ChangeLogAndrew Cagney7-4/+19
2003-10-30 Andrew Cagney <cagney@redhat.com> * traps.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: sim/d10v/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * simops.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: sim/common/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: ld/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: bfd/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * syms.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". * vms.h, targets.c, section.c, reloc.c, peicode.h: Ditto. * mipsbsd.c, elf.c, linker.c, elf-bfd.h, ecoff.c: Ditto. * cpu-z8k.c, cpu-ns32k.c, cpu-h8500.c, bfd.c, bfd-in.h: Ditto. * bfd-in2.h: Re-generate.
2003-10-212003-10-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* callback.c (os_truncate): Call "truncate", and not "stat".
2003-10-202003-10-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* targets.c: Replace "struct sec" with "struct bfd_section" * syms.c, sparclynx.c, section.c, opncls.c: Ditto. * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto. * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto. * aout-tic30.c, aout-target.h: * bfd-in2.h, libcoff.h, libbfd.h: Regenerate. Index: binutils/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * coffgrok.h (coff_section): Replace 'struct sec" with "struct bfd_section". Index: gdb/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * symtab.c: Replace "struct sec" with "struct bfd_section". * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. Index: ld/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * pe-dll.c: Replace "struct sec" with "struct bfd_section". Index: sim/common/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * sim-base.h: Replace "struct sec" with "struct bfd_section".
2003-10-172003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>Shrinivas Atre2-45/+80
* h8300/compile.c : Addition of extern variable h8300_normal_mode (SP) : Handle normal mode (bitfrom) : Use normal mode flag to return suitable value (lvalue) : Use normal mode flag to return command line location (decode) : Decode instruction correctly for normal mode (init_pointers) : Initialise memory correctly for normal mode (sim_resume) : Handle cases for normal mode using h8300_normal_mode flag (sim_store_register) : Handle 2 byte PC for normal mode (sim_fetch_register) : Handle 2 byte PC for normal mode (set_h8300h) : Set normal mode flag as per architechture (sim_load) : Allocate 64K for normal mode instead of bigger memory
2003-10-172003-10-16 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* emul_netbsd.c: Only a comment may follow an #endif.
2003-10-152003-10-15 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* Makefile.in (sim_calls.o): No longer depends on gdb/tm.h.
2003-10-15include/gdb:Joern Rennecke5-0/+50
* callback.h (struct host_callback_struct): New members ftruncate and truncate. gdb: sim/common: * callback.c (os_ftruncate, os_truncate): New functions. (default_callback): Initialize ftruncate and truncate members. sim/sh: * syscall.h (SYS_truncate, SYS_ftruncate): Define. * interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
2003-10-11 * interp.c (sim_load): Don't refer directly to _cooked_size and vma;Alan Modra2-3/+10
Use bfd_section_size and bfd_get_section_vma.
2003-10-102003-10-10 Dave Brolley <brolley@redhat.com>Dave Brolley5-10/+99
* sim/frv/testutils.inc (or_gr_immed): New macro. * sim/frv/fp_exception-fr550.cgs: Write insns using unaligned registers into the program in order to cause the required exceptions. * sim/frv/fp_exception.cgs: Ditto. * sim/frv/regalign.cgs: Ditto.
2003-10-102003-10-10 Dave Brolley <brolley@redhat.com>Dave Brolley3-67/+18
* cpu.h, sem.c: Regenerate.
2003-10-082003-10-08 Dave Brolley <brolley@redhat.com>Dave Brolley2-3/+7
* configure.in: Move frv handling to alphabetically correct placement.
2003-10-082003-10-06 Dave Brolley <brolley@redhat.com>Dave Brolley175-117/+15074
* sim/frv/fr550: New subdirectory. * sim/frv/fr400/*.cgs: Add fr550 as appropriate. * sim/frv/fr500/*.cgs: Add fr550 as appropriate. * sim/frv/interrupts/*.cgs: Add fr550 as appropriate. * sim/frv/interrupts/*-fr550.cgs: New test cases for fr550.
2003-10-082003-10-06 Dave Brolley <brolley@redhat.com>Dave Brolley25-495/+24030
* profile-fr550.[ch]: New files. * configure.in: Move frv handling to alphabetically correct placement. * Makefile.in: Add fr550 support. * frv-sim.h,frv.c,interrups.c,memory.c,mloop.in,pipeline.c, profile.[ch],registers.c,traps.c: Add fr550 support. * arch.c,arch.h,cpu.c,cpu.h,cpuall.h,model.h,decode.c,decode.h,sem.c: Regenerate.
2003-09-252003-09-25 Dave Brolley <brolley@redhat.com>Dave Brolley2-4/+9
* reset.c (frv_initialize): Call frv_register_control_init first.
2003-09-242003-09-24 Dave Brolley <brolley@redhat.com>Dave Brolley11-504/+532
* profile.h (update_FR_ptime): New prototype. (update_FRdouble_ptime): Ditto. (update_SPR_ptime): Ditto. (increase_ACC_busy): Ditto. (enforce_full_acc_latency): Ditto. (post_wait_for_SPR): Ditto. * profile.c (update_FR_ptime): Moved here from profile-fr500.c. (update_FRdouble_ptime): Ditto. (update_SPR_ptime): New function. (increase_ACC_busy): Ditto. (enforce_full_acc_latency): Ditto. (vliw_wait_for_fdiv_resource): Correct resource name. (vliw_wait_for_fsqrt_resource): Ditto. (post_wait_for_SPR): New function. * profile-fr500.c (frvbf_model_fr500_u_commit): New function. (frvbf_model_fr500_u_gr2fr): Pass out_FRk as output register to adjust_float_register_busy. (frvbf_model_fr500_u_gr_load): Record latency of SPR registers. (frvbf_model_fr500_u_fr_load): Wait for and record latency of SPR registers. (frvbf_model_fr500_u_float_arith): Ditto. (frvbf_model_fr500_u_float_dual_arith): Ditto. (frvbf_model_fr500_u_float_div): Ditto. (frvbf_model_fr500_u_float_sqrt): Ditto. (frvbf_model_fr500_u_float_convert): Ditto. (update_FR_ptime): Moved to profile.c (update_FRdouble_ptime): Moved to profile.c * profile-fr400.c (update_FR_ptime): Removed. Identical to functions for other machines. (update_FRdouble_ptime): Ditto. * arch.h,cpu.h,sem.c,decode.[ch],model.c,sem.c: Regenerated.
2003-09-192003-09-19 Michael Snyder <msnyder@redhat.com>Michael Snyder2-64/+5
* sim/frv/nldqi.cgs: Remove. This insn was never implemented by Fujitsu.
2003-09-192003-09-19 Dave Brolley <brolley@redhat.com>Dave Brolley3-2/+8
* sim/frv/rstqf.cgs: Use nldq instead of nldqi. * sim/frv/rstq.cgs: Use nldq instead of nldqi.
2003-09-12Correct last entry.Dave Brolley1-2/+1
2003-09-122003-09-12 Dave Brolley <brolley@redhat.com>Dave Brolley11-77/+302
* registers.c (frv_check_spr_read_access): Check for access to ACC4-ACC63 and ACCG4-ACCG63. * profile.h (frv-desc.h): #include it. (spr_busy): New member of FRV_PROFILE_STATE. (spr_latency): Ditto. (GNER_FOR_GR): New macro. (FNER_FOR_FR): New maccro. (update_SPR_latency): New function. (vliw_wait_for_SPR): New function. * profile.c (profile-fr550.h): #include it. (update_latencies): Update SPR latencies. (update_target_latencies): Ditto. (update_SPR_latency): New function. (vliw_wait_for_SPR): New function. * profile-fr500.c (frvbf_model_fr500_u_idiv): Record GNER latency. (frvbf_model_fr500_u_trap): Removed unused variable, ps. (frvbf_model_fr500_u_check): Ditto. (frvbf_model_fr500_u_clrgr): New unit modeller for fr500. (frvbf_model_fr500_u_clrfr): Ditto. (frvbf_model_fr500_u_spr2gr): Wait for SPR. (frvbf_model_fr500_u_gr2spr): Ditto. * frv-sim.h (H_SPR_ACC4): New macro. (H_SPR_ACCG4): New macro; (H_SPR_ACC0): Removed. (H_SPR_ACCG0): Removed. * arch.h,model.c,sem[ch],decode.[ch]: Regenerated.
2003-09-112003-09-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* sim/testsuite/sim/frv/movgs.cgs: Change lcr to spr[273], which according to the comments seems to be the intent.
2003-09-102003-09-10 Dave Brolley <brolley@redhat.com>Dave Brolley2-9/+21
* profile.c (slot_names): FM1 was listed twice. Changed first instance to FM0. Added IALL, FMALL and FMLOW. (print_parallel): Don't examine slots with no insns.
2003-09-092003-09-09 Dave Brolley <brolley@redhat.com>Dave Brolley5-7/+13
* sim/frv/maddaccs.cgs: move to fr400 subdirectory. * sim/frv/msubaccs.cgs: move to fr400 subdirectory. * sim/frv/masaccs.cgs: move to fr400 subdirectory.
2003-09-092003-09-09 Dave Brolley <brolley@redhat.com>Dave Brolley2-3/+13
* frv.c (do_media_average): Select machine using a switch.
2003-09-082003-09-08 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+11
On behalf of Doug Evans <dje@sebabeach.org> * Makefile.in (stamp-arch,stamp-cpu,stamp-xcpu): Pass archfile to cgen.
2003-09-082003-09-08 Dave Brolley <brolley@redhat.com>Dave Brolley2-2/+12
On behalf of Doug Evans <dje@sebabeach.org> * Makefile.in (stamp-arch,stamp-cpu, stamp-desc): Pass archfile to cgen.
2003-09-082003-09-08 Dave Brolley <brolley@redhat.com>Dave Brolley2-6/+8
On behalf of Doug Evans <dje@sebabeach.org> * Makefile.in (stamp-arch,stamp-cpu): Pass archfile to cgen. Remove copying of .cpu file to cgen/cpu, no longer needed.
2003-09-082003-09-08 Dave Brolley <brolley@redhat.com>Dave Brolley3-11/+25
On behalf of Doug Evans <dje@sebabeach.org> * cgen.sh: New arg archfile. * Make-common.in (cgen-arch,cgen-cpu,cgen-defs,cgen-decode, cgen-cpu-decode,cgen-desc): Update call to cgen.sh.
2003-09-05Add support for v850e1 instructionsNick Clifton4-0/+76
2003-09-03003-09-03 Dave Brolley <brolley@redhat.com>Dave Brolley6-38/+354
* cpu.h, model.c, sem.c, decode.h, decode.c: Regenerated.
2003-09-03Spelling fix by the ChangeLog police.Ben Elliston1-2/+2
2003-09-032003-09-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* sim/frv/fr500/mclracc.cgs: Change mach to 'all', to be consistant with other tests in the directory.
2003-09-032003-09-03 Michael Snyder <msnyder@redhat.com>Michael Snyder3-4/+45
* sim/frv/interrupts/Ipipe-fr400.cgs: New file. * sim/frv/interrupts/Ipipe-fr500.cgs: New file. * sim/frv/interrupts/Ipipe.cgs: Remove (replaced by above).
2003-09-03 * Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).Andreas Schwab2-0/+6
2003-08-292003-08-29 Dave Brolley <brolley@redhat.com>Dave Brolley1-0/+6
* Makefile.in (stamp-arch): Copy frv.cpu from $(srcdir)../../cpu temporarily when regenerating files. (stamp-cpu): Ditto.
2003-08-292003-08-29 Dave Brolley <brolley@redhat.com>Dave Brolley2-3/+6
* MAINTAINERS: Add myself as maintainer of the FRV port.
2003-08-292003-08-20 Michael Snyder <msnyder@redhat.com>Dave Brolley3-0/+15
Dave Brolley <brolley@redhat.com> * frv/: New directory, simulator for the Fujitsu FR-V. * testsuite/frv-elf/: New directory. * testsuite/sim/frv/: New directory. * configure.in: Add frv configury. * configure: Regenerate.
2003-08-292003-08-20 Michael Snyder <msnyder@redhat.com>Dave Brolley4-0/+45
Dave Brolley <brolley@redhat.com> * cgen-par.h (flags, word1): New target-specific fields of CGEN_WRITE_QUEUE_ELEMENT. (CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro. (CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro. * gennltvals.sh: Add frv target. * nltvals.def: Add frv target.
2003-08-292003-08-20 Michael Snyder <msnyder@redhat.com>Dave Brolley1-0/+6
On behalf of Dave Brolley * sim/frv: New testsuite. * frv-elf: New testsuite.
2003-08-29New sim testsuite for Fujitsu FRV. Contributed by Red Hat.Dave Brolley794-0/+113410
2003-08-29New simulator for Fujitsu frv contributed by Red Hat.Dave Brolley39-0/+145235
2003-08-28Index: common/ChangeLogAndrew Cagney6-11/+30
2003-08-28 Andrew Cagney <cagney@redhat.com> * dv-glue.c (hw_glue_finish): Change %d to %ld to match sizeof. * sim-options.c (print_help): Cast the format with specifier to "int". Index: mn10300/ChangeLog 2003-08-28 Andrew Cagney <cagney@redhat.com> * dv-mn103ser.c (do_polling_event): Change type of "serial_reg" to "long". (read_status_reg): Cast "serial_reg" to "long". * dv-mn103tim.c (do_counter_event): Change type of "timer_nr" to "long". (do_counter6_event, write_mode_reg, write_tm6md): Ditto.
2003-08-112003-08-11 Michael Snyder <msnyder@redhat.com>Michael Snyder4-0/+118
* macl.s: New file. * macw.s: New file. * allinsn.exp: Add new tests for mac.w and mac.l.
2003-08-112003-08-11 Shrinivas Atre <shrinivasa@KPITCummins.com>Michael Snyder3-3/+60
* sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and correction for MAC.W handler * sim/sh/interp.c ( macl ): New Function. Implementation of MAC.L handler.
2003-08-10 * MAINTAINERS: Update my mail address.Ben Elliston2-1/+5
2003-08-092003-08-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+14
* MAINTAINERS: Andrew Cagney (mips) and Geoff Keating (ppc) drop maintenance. List igen and sh maintainers. Mention that target and global maintainers pick up the slack.