aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
2004-07-10 * hw-tree.c (parse_integer_property): Typo fix in comments.Ben Elliston3-3/+8
* sim-options.c (sim_args_command): Likewise.
2004-07-06* Makefile.in: Update all dependency information.Jim Blandy2-92/+343
(BASICS_H, CPU_H, IDECODE_H, PSIM_H, REGISTERS_H, DEVICE_TABLE_H) (EMUL_GENERIC_H): Values updated. (ACCONFIG_H, ALTIVEC_EXPRESSION_H, ALTIVEC_REGISTERS_H) (ANSIDECL_H, BFD_H, BITS_H, CAP_H, COMMON_SIM_BASE_H) (COMMON_SIM_BASICS_H, COMMON_SIM_FPU_H, COMMON_SIM_INLINE_H) (COMMON_SIM_SIGNAL_H, CONFIG_H, COREFILE_H, COREFILE_N_H, DEBUG_H) (DEFINES_H, DEFS_H, DEVICE_H, E500_EXPRESSION_H, E500_REGISTERS_H) (EMUL_BUGAPI_H, EMUL_CHIRP_H, EMUL_NETBSD_H, EMUL_UNIX_H, EVENTS_H) (FILTER_FILENAME_H, FILTER_H, GDB_CALLBACK_H, GDB_REMOTE_SIM_H) (GEN_ICACHE_H, GEN_IDECODE_H, GEN_ITABLE_H, GEN_MODEL_H) (GEN_SEMANTICS_H, GEN_SUPPORT_H, HW_CPU_H, HW_H, HW_PHB_H) (ICACHE_H, IDECODE_BRANCH_H, IDECODE_EXPRESSION_H) (IDECODE_FIELDS_H, IGEN_H, INLINE_H, INTERRUPTS_H, ITABLE_H) (LD_CACHE_H, LD_DECODE_H, LD_INSN_H, LF_H, MISC_H, MODEL_H, MON_H) (OPTIONS_H, OS_EMUL_H, PK_H, PPC_CONFIG_H, SEMANTICS_H) (SIM_CALLBACKS_H, SIM_ENDIAN_H, SIM_ENDIAN_N_H, SIM_MAIN_H) (SPREG_H, STD_CONFIG_H, SUPPORT_H, TABLE_H, TARG_VALS_H, TCONFIG_H) (TREE_H, VM_H, VM_N_H, WORDS_H): New variables. (callback.o, cap.o, corefile.o, debug.o, device.o, device_table.o) (dgen.o, emul_bugapi.o, emul_chirp.o, emul_netbsd.o, emul_unix.o) (events.o, filter.o, filter_filename.o, filter_host.o) (gen-icache.o, gen-idecode.o, gen-itable.o, gen-model.o) (gen-semantics.o, gen-support.o, hw_core.o, hw_cpu.o, hw_disk.o) (hw_htab.o, hw_init.o, hw_phb.o, hw_register.o, icache.o) (idecode.o, igen.o, interrupts.o, itable.o, ld-cache.o) (ld-decode.o, ld-insn.o, lf.o, main.o, misc.o, model.o, mon.o) (options.o, os_emul.o, pk_disklabel.o, psim.o, registers.o) (semantics.o, sim-endian.o, sim-fpu.o, sim_calls.o, spreg.o) (support.o, table.o, targ-map.o, tree.o, vm.o): Update dependencies.
2004-06-29Index: mn10200/ChangeLogAndrew Cagney8-10/+27
2004-06-28 Andrew Cagney <cagney@gnu.org> * interp.c: Rename ui_loop_hook to deprecated_ui_loop_hook. Index: d10v/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * interp.c (sim_resume): Rename ui_loop_hook to deprecated_ui_loop_hook. Index: arm/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook. Index: common/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
2004-06-28sim/h8300/ChangeLog:Alexandre Oliva5-69/+37
2003-07-23 Richard Sandiford <rsandifo@redhat.com> * compile.c (sim_resume): Make sure that dst.reg refers to the right register byte in mova/sz.l @(dd,RnL),ERn. 2003-07-21 Richard Sandiford <rsandifo@redhat.com> * compile.c (sim_resume): Zero-extend immediate to muls, mulsu, mulxs, divs and divxs. sim/testsuite/sim/h8300/ChangeLog: 2003-07-22 Michael Snyder <msnyder@redhat.com> * mul.s: Don't try to use negative immediate (it's always unsigned). * div.s: Ditto.
2004-06-28* compile.c (sim_load): Update sd->memory_size.Alexandre Oliva2-0/+5
2004-06-28* e500_registers.h (EVR): Cast the 32-bit value of the GPR to anJim Blandy2-2/+10
unsigned type before or-ing it with a 64-bit value.
2004-06-27 * callback.c (os_shutdown): Fix bug in last change: actuallyJoern Rennecke2-0/+6
mark file descriptors as available on startup.
2004-06-262000-08-07 Graham Stott <grahams@cygnus.co.uk>Alexandre Oliva7-1/+3727
* am33-2.igen (fmadd, fmsub, fmnadd, fmnsub): Correct typo. 2000-05-29 Alexandre Oliva <aoliva@cygnus.com> * interp.c (fpu_disabled_exception, fpu_unimp_exception, fpu_check_signal_exception): Take additional state arguments. Print exception type and call program_interrupt. Adjust callers. (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Take additional arguments. * mn10300_sim.h (fpu_disabled_exception, fpu_unimp_exception, fpu_check_signal_exception): Adjust prototypes. (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Likewise. * am33-2.igen: Adjust calls. 2000-05-19 Alexandre Oliva <aoliva@cygnus.com> * op_utils.c (cmp2fcc): Moved... * interp.c: ... here. 2000-05-18 Alexandre Oliva <aoliva@cygnus.com> * am33-2.igen: Use `unsigned32', `signed32', `unsigned64' or `signed64' where type width is relevant. 2000-05-15 Alexandre Oliva <aoliva@cygnus.com> * mn10300_sim.h: Include sim-fpu.h. (FD2FPU, FPU2FD): Enclose the FD argument in parentheses. (fpu_check_signal_exception): Declare. (struct fp_prec_t, fp_single_prec, fp_double_prec): Likewise. (FP_SINGLE, FP_DOUBLE): Shorthands for fp_*_prec. (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Declare. * interp.c (fpu_disabled_exception): Document. (fpu_unimp_exception): Likewise. (fpu_check_signal_exception): Define. (reg2val_32, round_32, val2reg_32, fp_single_prec): Likewise. (reg2val_64, round_64, val2reg_64, fp_double_prec): Likewise. (REG2VAL, ROUND, VAL2REG): Define shorthands. (fpu_status_ok): Define. (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Define. * am33-2.igen (frsqrt, fcmp, fadd, fsub, fmul, fdiv, fmadd, fmsub, fnmadd, fnmsub): Use new functions. 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> * interp.c (sim_create_inferior): Set PSW bit to enable FP insns if architecture is AM33/2.0. * am33.igen: Include am33-2.igen. 2000-04-23 Alexandre Oliva <aoliva@cygnus.com> * mn10300.igen (movm, call, ret, retf): Check for am33_2 too. * am33.igen (movm): Likewise. 2000-04-19 Alexandre Oliva <aoliva@cygnus.com> * am33.igen: Added `*am33_2' to some instructions that were missing it. 2000-04-07 Alexandre Oliva <aoliva@cygnus.com> * am33-2.igen: New file. All insns implemented, but FP flags are only set for fcmp, exceptional conditions are not handled yet. * Makefile.in (IGEN_INSN): Added am33-2.igen. (tmp-igen): Added -M am33_2. * mn10300.igen, am33.igen: Added `*am33_2' to all insns. * gencode.c: Support FMT_D3. * mn10300_sim.h (dword): New type. (struct _state): Added fpregs. (REG_FPCR, FPCR): New define. All assorted bitmaps. (XS2FS, AS2FS, Xf2FD): New macros. (FS2FPU, FD2FPU, FPU2FS, FPU2FD): Likewise. (load_dword, store_dword): New functions or macros. (u642dw, dw2u64): New functions. (fpu_disabled_exception, fpu_unimp_exception): Declared. * interp.c (fpu_disabled_exception): Defined; no actual implementation. (fpu_unimp_exception): Likewise. * op_utils.c (cmp2fcc): New function.
2004-06-26* interp.c, mn10300_sim.h, op_utils.c: Convert function prototypesAlexandre Oliva4-81/+66
and definitions to ISO C.
2004-06-26* gencode.c, simops.c: Delete.Alexandre Oliva4-3433/+6
* Makefile.in: Remove non-COMMON dependencies and commands.
2004-06-26* configure.in: Use common simulator always. Don't subst sim_genAlexandre Oliva5-1080/+19
nor mn10300_common. * configure: Rebuilt. * Makefile.in (WITHOUT_COMMON_OBJS, WITHOUT_COMMON_INTERP_DEP, WITHOUT_COMMON_RUN_OBJS): Remove. (WITH_COMMON_OBJS): Rename to MN10300_OBJS. (WITH_COMMON_INTERP_DEP): Rename to MN10300_INTERP_DEP. (WITH_COMMON_RUN_OBJS): Rename to SIM_RUN_OBJS. (SIM_EXTRA_CFLAGS): Don't use @sim_gen@. * interp.c: Remove non-common bits. * mn10300_sim.h: Likewise.
2004-06-252004-06-25 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-2/+7
* configure.in (sim_m16_machine): Include mipsIII. * configure: Regenerate.
2004-06-252004-06-25 J"orn Rennecke <joern.rennecke@superh.com>Joern Rennecke2-14/+45
include/gdb: * callback.h (host_callback_struct): Replace members fdopen and alwaysopen with fd_buddy. sim/common: * callback.c: Changed all users.
2004-06-242004-06-17 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva4-5/+15
* band.s, biand.s: imm3_abs16 is not available on h8300h. * bset.s: Likewise. Ditto for rn_abs32.
2004-06-15 * hw_htab.c (htab_sum_binary(bfd): Use bfd_get_section_sizeAlan Modra3-5/+12
instead of bfd_get_section_size_before_reloc. (htab_dma_binary(bfd): Likewise. * hw_init.c (update_for_binary_section(bfd): Likewise.
2004-06-15 * interp.c (sim_prepare_for_program): Use bfd_get_section_sizeAlan Modra2-2/+8
instead of bfd_get_section_size_before_reloc.
2004-06-15 * sim-load.c (sim_load_file): Use bfd_get_section_sizeAlan Modra2-1/+6
instead of bfd_get_section_size_before_reloc.
2004-06-14ChangeLog editorial fixes.Andrew Cagney1-0/+1
2004-06-102004-06-10 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>. * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
2004-05-18 * dv-glue.c (hw_glue_finish): Cast result of sizeof to long beforeDaniel Jacobowitz2-2/+7
passing it to printf.
2004-05-18 * Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix.Daniel Jacobowitz2-7/+14
2004-05-12 * lib/sim-defs.exp: Remove stray semicolons.Ben Elliston2-1/+5
2004-05-122004-05-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>Chris Demetriou3-2/+8
* mips/interp.c (decode_coproc): Sign-extend the address retrieved from COP0_BADVADDR. * mips/sim-main.h (COP0_BADVADDR): Remove a cast.
2004-05-11 * configure.in (sim_fpu_cflags): Add -I../common.Daniel Jacobowitz3-2/+7
* configure: Regenerated.
2004-05-10 * callback.c: Update copyright dates.Daniel Jacobowitz6-10/+32
* run.c: Likewise. * sim-basics.h: Likewise. * sim-load.c: Likewise. * syscall.c: Likewise. From Maciej W. Rozycki <macro@ds2.pg.gda.pl> * callback.c: Include cconfig.h instead of config.h. * run.c: Likewise. * sim-basics.h: Likewise. * sim-load.c: Likewise. * syscall.c: Likewise.
2004-04-112004-04-11 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-7/+31
* utils-fpu.inc (enable_fpu, ckm_fp_cc): New macros. (clrset_fp_cc): Fix mask used for upper 7 condition codes. * utils-mdmx.inc: Include utils-fpu.inc. (enable_mdmx): Use enable_fpu.
2004-04-112004-04-10 Chris Demetriou <cgd@broadcom.com>Chris Demetriou6-0/+904
* utils-fpu.inc: New file. * utils-mdmx.inc: New file. * mdmx-ob.s: New file. * mdmx-ob-sb1.s: New file. * basic.exp: Run new mdmx-ob and mdmx-ob-sb1 tests.
2004-04-10im/mips/ChangeLog ]Chris Demetriou5-1/+137
2004-04-10 Chris Demetriou <cgd@broadcom.com> * sb1.igen (DIV.PS, RECIP.PS, RSQRT.PS, SQRT.PS): New. [ sim/testsuite/sim/mips/ChangeLog ] 2004-04-10 Chris Demetriou <cgd@broadcom.com> * fpu64-ps-sb1.s: New file. * basic.exp: Recognize mipsisa64sb1 targets, and run fpu64-ps-sb1.s if appropriate.
2004-04-102004-04-10 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-0/+374
* fpu64-ps.s: New file. * basic.exp: Run fpu64-ps.s.
2004-04-10(and adjust paths in last entry, for moveChris Demetriou1-2/+2
2004-04-10move entry from:Chris Demetriou2-9/+9
2004-03-29 Richard Sandiford <rsandifo@redhat.com> from ChangeLog into sim/mips/Changelog
2004-04-102004-04-09 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-62/+47
* mips.igen (check_fmt): Remove. (ABS.fmt, ADD.fmt, C.cond.fmta, C.cond.fmtb, CEIL.L.fmt, CEIL.W) (CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, DIV.fmt, FLOOR.L.fmt) (FLOOR.W.fmt, MADD.fmt, MOV.fmt, MOVtf.fmt, MOVN.fmt, MOVZ.fmt) (MSUB.fmt, MUL.fmt, NEG.fmt, NMADD.fmt, NMSUB.fmt, RECIP.fmt) (ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt, SQRT.fmt, SUB.fmt) (TRUNC.L.fmt, TRUNC.W): Explicitly specify allowed FPU formats. (check_fmt_p, CEIL.L.fmt, CEIL.W, DIV.fmt, FLOOR.L.fmt) (FLOOR.W.fmt, RECIP.fmt, ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt) (SQRT.fmt, TRUNC.L.fmt, TRUNC.W): Remove all uses of check_fmt. (C.cnd.fmta): Remove incorrect call to check_fmt_p.
2004-04-102004-04-09 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-21/+28
* sb1.igen (check_sbx): New function. (PABSDIFF.fmt, PABSDIFC.fmt, PAVG.fmt): Use check_sbx.
2004-03-29Fix date in last delta.Richard Sandiford2-2/+2
2004-03-29 * sim/mips/hilo-hazard-[123].s: New files.Richard Sandiford5-4/+107
* sim/mips/basic.exp (run_hilo_test): New procedure. (models): Only list models that are included in the configuration. (submodels): New variable, set to submodels of the above. (mips64vr-*-elf, mips64vrel-*-elf): New configuration stanza. Run hilo-hazard-[123].s.
2004-03-29 * sim-main.h (MIPS_MACH_HAS_MT_HILO_HAZARD)Richard Sandiford3-13/+72
(MIPS_MACH_HAS_MULT_HILO_HAZARD, MIPS_MACH_HAS_DIV_HILO_HAZARD): New. * mips.igen (check_mt_hilo, check_mult_hilo, check_div_hilo): Provide separate implementations for mipsIV and mipsV. Use new macros to determine whether the restrictions apply.
2004-03-10 * MAINTAINERS: Update my mail address.Ben Elliston2-1/+5
2004-03-01Add fr450 support.Richard Sandiford36-109/+20169
2004-03-01cpu/Richard Sandiford5-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.
2004-03-01sim/frv/Richard Sandiford4-72/+132
* 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.
2004-03-01cpu/Richard Sandiford16-3172/+151
* 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.
2004-02-132004-02-02 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+6
* gencode.c (movua.l): Set thislock to 0, not n.
2004-02-122004-02-12 Michael Snyder <msnyder@redhat.com>Michael Snyder6-3/+201
* and.s, movi.s, sett.s: New files. * allinsn.exp: Add new tests. * testutils.inc (set_sr_bit): Fix macro labels.
2004-02-122004-02-12 Michael Snyder <msnyder@redhat.com>Michael Snyder3-5/+13
* gencode.c (table): Change from char to short. (dumptable): Change generated table from char to short. * interp.c (sh_jump_table, sh_dsp_table, ppi_table): char to short. (init_dsp): Compute size of sh_dsp_table. (sim_resume): Change jump_table from char to short.
2004-02-042004-02-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-22/+133
Committed by Andrew Cagney. * mloopx.in: Update copyright. (xextract-pbb): Fixed trap for system calls operation in parallel. * mloop2.in (xextract-pbb): Ditto.
2004-01-272004-01-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-8/+12
* gencode.c: (op tab): Some refs and defs fixes. "fsrra" -> "fsrra <FREG_N>". "sleep": replace array ref with array addr. "trapa": ditto.
2004-01-272004-01-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2-19/+22
* gencode.c: Comment and whitespace clean-ups.
2004-01-272004-01-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+7
* ppc-instructions: Update copyright. (convert_to_integer): Add trailing ";" to label.
2004-01-26[ sim/ChangeLog ]Chris Demetriou8-5/+214
2004-01-26 Chris Demetriou <cgd@broadcom.com> * configure.in (mips*-*-*): Configure in testsuite. * configure: Regenerate. [ sim/testsuite/ChangeLog ] 2004-01-26 Chris Demetriou <cgd@broadcom.com> * sim/mips: New directory. Tests for the MIPS simulator. [ sim/testsuite/sim/mips/ChangeLog ] 2004-01-26 Chris Demetriou <cgd@broadcom.com> * basic.exp: New file. * testutils.inc: New file. * sanity.s: New file.
2004-01-23 * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if aBen Elliston2-0/+7
test passes.