summaryrefslogtreecommitdiffstats
path: root/sim/frv
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure: Regenerate for ../common/aclocal.m4 update.Hans-Peter Nilsson2004-12-072-2/+13
|
* * cpu.[ch], arch.[ch], decode.[ch]: Regenerated.Richard Sandiford2004-08-2710-9/+14
| | | | * cpuall.h, model.c, sem.c: Regenerated.
* Add fr450 support.Richard Sandiford2004-03-0120-98/+19912
|
* cpu/Richard Sandiford2004-03-015-65/+55
| | | | | | | | | | | | | | | | | | | | | | | | * frv.cpu (nsdiv, nudiv, nsdivi, nudivi): Remove fr400 profiling unit. (scutss): Change unit to I0. (calll, callil, ccalll): Add missing FR550-MAJOR and profile unit. (mqsaths): Fix FR400-MAJOR categorization. (media-quad-multiply-cross-acc, media-quad-cross-multiply-cross-acc) (media-quad-cross-multiply-acc): Change unit from MDUALACC to FMALL. * frv.opc (fr400_check_insn_major_constraints): Check for (M-2,M-1) combinations. opcodes/ * frv-desc.c, frv-opc.c: Regenerate. sim/frv/ * cache.c (frv_cache_init): Change fr400 cache statistics to match the fr405. (non_cache_access): Add missing breaks. * interrupts.c (set_exception_status_registers): Always set EAR15 for data_access_errors. * memory.c (fr400_check_write_address): Remove redundant alignment check. * model.c: Regenerate.
* sim/frv/Richard Sandiford2004-03-012-14/+47
| | | | | | | | * frv.c (frvbf_iacc_cut): Rework, taking rounding into account. testsuite/ * sim/frv/fr400/scutss.cgs: Fix tests to account for rounding. Add some new ones.
* cpu/Richard Sandiford2004-03-015-1648/+146
| | | | | | | | | | | | | | | | | | | | | * frv.cpu (r-store, r-store-dual, r-store-quad): Delete. (rstb, rsth, rst, rstd, rstq): Delete. (rstbf, rsthf, rstf, rstdf, rstqf): Delete. gas/testsuite/ * gas/frv/allinsn.s (rstb, rsth, rst, rstd, rstq): Replace with nops. (rstbf, rsthf, rstf, rstdf, rstqf): Likewise. * gas/frv/allinsn.d: Update accordingly. opcodes/ * frv-desc.c, frv-opc.c, frv-opc.h: Regenerate. sim/frv/ * decode.c, decode.h, model.c, sem.c: Regenerate. sim/testsuite/ * sim/frv/{rstb,rsth,rst,rstd,rstq}.cgs: Delete. * sim/frv/{rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.
* * frv-sim.h (GR_REGNUM_MAX, FR_REGNUM_MAX, PC_REGNUM, SPR_REGNUM_MIN)Kevin Buettner2003-11-243-21/+64
| | | | | | | | (SPR_REGNUM_MAX): Delete. * frv.c (gdb/sim-frv.h): Include. (frvbf_fetch_register, frvbf_store_register): Use register number constants from gdb/sim-frv.h. Check availability of general purpose and float registers.
* 2003-11-03 Dave Brolley <brolley@redhat.com>Dave Brolley2003-11-032-3/+17
| | | | | * cache.c (address_interference): Check for higher priority requests in the same pipeline.
* Fix more typosDave Brolley2003-10-311-1/+1
|
* Fix typos.Dave Brolley2003-10-311-2/+2
|
* 2003-10-31 Dave Brolley <brolley@redhat.com>Dave Brolley2003-10-313-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.
* Index: sim/frv/ChangeLogAndrew Cagney2003-10-312-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-10 Dave Brolley <brolley@redhat.com>Dave Brolley2003-10-103-67/+18
| | | | * cpu.h, sem.c: Regenerate.
* 2003-10-06 Dave Brolley <brolley@redhat.com>Dave Brolley2003-10-0825-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-25 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-252-4/+9
| | | | * reset.c (frv_initialize): Call frv_register_control_init first.
* 2003-09-24 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-2411-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.
* Correct last entry.Dave Brolley2003-09-121-2/+1
|
* 2003-09-12 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-1211-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-10 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-102-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-09 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-092-3/+13
| | | | * frv.c (do_media_average): Select machine using a switch.
* 2003-09-08 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-082-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.
* 003-09-03 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-036-38/+354
| | | | * cpu.h, model.c, sem.c, decode.h, decode.c: Regenerated.
* 2003-08-29 Dave Brolley <brolley@redhat.com>Dave Brolley2003-08-291-0/+6
| | | | | | * Makefile.in (stamp-arch): Copy frv.cpu from $(srcdir)../../cpu temporarily when regenerating files. (stamp-cpu): Ditto.
* New simulator for Fujitsu frv contributed by Red Hat.Dave Brolley2003-08-2939-0/+145235
OpenPOWER on IntegriCloud