aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
2005-09-192005-09-19 Paul Brook <paul@codesourcery.com>Paul Brook7-125/+202
* armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when available. * armemu.c: Use them. * armvirt.c (ARMul_MemoryInit): Use correct type for size. * configure.ac: Check for stdint.h. * config.in: Regenerate. * configure: Regenerate.
2005-09-19 * interp.c (<sys/mman.h>): Include.Joern Rennecke2-5/+42
(mcalloc): New function / macro. (mfree): New macro. (sim_size): Use mcalloc and mfree.
2005-08-02 * interp.c (strswaplen): Add one for '\0' delimiter.Joern Rennecke2-1/+9
2005-07-15 * hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's.Ben Elliston2-1/+4
2005-07-15 * hw_init.c: Comment out tokens after #endif directive.Ben Elliston5-4/+11
* hw_register.c: Likewise. * hw_trace.c: Likewise. * hw_vm.c: Likewise.
2005-07-10 * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPESHans-Peter Nilsson2-4/+5
change.
2005-07-08 * sim-fpu.c (sim_fpu_abs): Always clear the sign bit.Ian Lance Taylor2-8/+4
2005-07-08 * tconfig.in (SIM_QUIET_NAN_NEGATED): Define.Ian Lance Taylor2-0/+7
2005-07-08 * sim-fpu.c (pack_fpu): If SIM_QUIET_NAN_NEGATED is defined, use aIan Lance Taylor2-1/+18
different fraction for a quiet NaN. (unpack_fpu): Likewise.
2005-07-08 * callback.c: Remove ANSI_PROTOTYPES conditional code.Ben Elliston4-64/+6
* sim-load.c: Likewise. * syscall.c: Likewise.
2005-07-08 * func.c: Remove ANSI_PROTOTYPES conditional code.Ben Elliston2-4/+4
2005-06-17 * gencode.c (tab): Avoid lvalue casts. Suggested byDaniel Jacobowitz2-1/+8
Ralf Corsepius <ralf.corsepius@rtems.org>.
2005-06-16* mips.igen: New mips16e model and include m16e.igen.David Ung5-117/+204
(check_u64): Add mips16e tag. * m16e.igen: New file for MIPS16e instructions. * configure.ac (mipsisa32*-*-*, mipsisa32r2*-*-*, mipsisa64*-*-*, mipsisa64r2*-*-*): Change sim_gen to M16, add mips16 and mips16e models. * configure: Regenerate.
2005-05-28 * cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.Hans-Peter Nilsson2-1/+7
2005-05-262005-05-26 Chris Demetriou <cgd@netbsd.org>Chris Demetriou2-1/+6
* MAINTAINERS: Update my mail address, move myself to the "Past maintainers" section.
2005-05-262005-05-26 David Ung <davidu@mips.com>Chris Demetriou6-74/+732
* mips.igen (mips32r2, mips64r2): New ISA models. Add new model tags to all instructions which are applicable to the new ISAs. (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Add, moved from vr.igen. * mips3264r2.igen: New file for MIPS 32/64 revision 2 specific instructions. * vr.igen (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Move to mips.igen. * configure.ac (mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add new targets. * configure: Regenerate.
2005-05-24(handle_v6_thumb_insn): New function.Nick Clifton2-15/+78
(ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined instruction binary is encountered.
2005-05-24 * Make-common.in (LIBDEPS): Correctly use INTLDEPS for dependencyCorinna Vinschen2-1/+6
check.
2005-05-18Update copyright years for last commit.Daniel Jacobowitz1-1/+2
2005-05-18 * Make-common.in (install-common, installdirs): Honor $DESTDIR.Daniel Jacobowitz2-5/+9
2005-05-17 * configure.ac: Add igen to v850 build.Corinna Vinschen3-0/+7
* configure: Regenerate.
2005-05-16Typo fix.Ben Elliston1-1/+1
2005-05-12Update the address of the FSF organizationNick Clifton33-34/+45
2005-05-02 * sh-desc.h: Move extern declaration of sh_cgen_ifld_table afterCorinna Vinschen2-4/+9
inclusion of cgen.h.
2005-04-292005-04-29 Paul Brook <paul@codesourcery.com>Paul Brook5-269/+280
* common/callback.c (PIPE_BUF): Provide default refinition. (os_lstat): Use stat if lstat is not available on the host. (os_ftruncate): Return EINVAL if not available on the host. (os_truncate): Ditto. * common/configure.ac: Check for lstat, truncate and ftruncate. * common/configure: Regenerate. * common/config.in: Regenerate.
2005-04-272005-04-27 Paul Brook <paul@codesourcery.com>Paul Brook2-3/+7
* common/Make-common.in: Add $(EXEEXT) to "run".
2005-04-25* armemu.c (handle_v6_insn): New function - emulate a few of the v6 ↵Nick Clifton5-1/+314
instructions - the ones now generated by GCC. (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is found. * armdefs.h (struct ARMul_State): Add new field: is_v6.# (ARM_v6_Prop): Define. * arminit.c (ARMul_NewState): Initialise the v6 flag. (ARMul_SelectProcessor): Determine if the v6 flag should be set. * wrapper.c (sim_create_inferior): For unknown architectures, default to allowing the v6 instructions.
2005-04-20added missing header file #include "libiberty.h" to psim.cManoj Iyer1-0/+1
2005-04-20 Manoj Iyer <manjo@austin.ibm.com> * psim.c: Added libiberty.h header file.
2005-04-20added missing header file libiberty.h to psim.cManoj Iyer1-0/+4
2005-04-20Insert a blank like after headerManoj Iyer1-0/+1
2005-04-20Inserting a blank line to changelogManoj Iyer1-0/+1
2005-04-20unsigned32 and unsigned64 is multiply defined in sim-types.h.Manoj Iyer2-5/+9
2005-04-20 Manoj Iyer <manjo@austin.ibm.com> * sim-types.h: Changed unsigned32 and unsigned64 to signed32 and signed64 for __ALPHA__.
2005-04-20Use HAVE_LONG_LONG to check if compiler supports long long instead of using ↵Manoj Iyer5-341/+418
__GNU__. 2005-04-18 Manoj Iyer <manjo@austin.ibm.com> * configure.ac: Added check for long long. * config.in: Regenerated. * configure: Regenerated. * words.h: Modified logic to check for HAVE_LONG_LONG instead of __GNUC__, added config.h header file.
2005-04-18(WMAC, WMADD): Move casts from the LHS of an assignment operator to the RHS.Nick Clifton2-12/+19
(WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to indicate an unsigned long long constant.
2005-04-18 * cris/traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:Hans-Peter Nilsson2-3/+9
For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't implemented. In call to create_map, pad length argument to 8k.
2005-04-15 * configure.ac: Add explicit sh64 case.Corinna Vinschen8-2669/+7364
* configure: Regenerate. * sh64/configure.ac: New file. * sh64/configure.in: Remove. * sh64/configure: Regenerate. * sh64/defs-media.h (sem_fields): Add missing sfmt_ldhil member. * sh64/sim-if.c (sim_open): Use struct bfd instead of struct _bfd. (sim_create_inferior): Ditto.
2005-04-14* gencode.c (tab): Avoid inserting code before variables all declared.Jonathan Larmour2-4/+8
2005-03-302005-03-30 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+12
* arm/wrapper.c: Provide SIGTRAP and SIGBUS.
2005-03-25Fix memset thinkos.Anthony Green2-1/+5
2005-03-24 * cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge toHans-Peter Nilsson21-25/+39
include cgen-ops.h in decodev10.c and decodev32.c. * cris/sim-main.h: Don't include cgen-ops.h here. * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c, cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c, cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c, cris/decodev10.h, cris/decodev32.c, cris/decodev32.h, cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.
2005-03-24 * cris/traps.c (cris_break_13_handler) <caseHans-Peter Nilsson2-12/+19
TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags, sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
2005-03-23From common/ChangeLog:Mark Kettenis33-519/+372
* aclocal.m4 Include ../../gettext.m4. (CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST) (AM_LC_MESSAGES): Remove. * configure: Regenerate. Regenerate all other configures.
2005-03-15sim/common/ChangeLog:Jim Blandy9-7/+98
2005-02-28 Jim Blandy <jimb@redhat.com> * aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include -Wuninitialized in the default list of build warnings if CFLAGS is set, and doesn't include -O. (Using -Wuninitialized without optimization produces a warning, which interferes with compilation with -Werror.) sim/ChangeLog: 2005-02-28 Jim Blandy <jimb@redhat.com> * d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac, mips/configure.ac, mn10300/configure.ac, v850/configure.ac: Regenerated, after change to common/aclocal.m4.
2005-03-08 * iq2000: New target subdirectory.Corinna Vinschen25-0/+21933
* configure.ac: Add iq2000 target. * configure: Regenerate.
2005-03-072005-03-07 Jerome Guitton <guitton@gnat.com>Jerome Guitton6-112/+75
* sim/erc32/float.c (set_fsr): Do not use deprecated multi-line strings. (clear_accex): Ditto. * sim/erc32/interf.c: Remove the redeclaration of fprintf. * sim/erc32/sis.c: Ditto. * sim/erc32/exec.c: Add missing semicolon. * sim/erc32/func.c: Remove definitions of generic_print_address, generic_symbol_at_address, buffer_read_memory and perror_memory, as they are already defined in opcodes/dis-buf.c.
2005-02-21* callback.c (os_fstat): Don't declare 't' unless it's used.Jim Blandy2-0/+6
2005-02-09cgen/ChangeLog:Jim Blandy3-7/+20
2005-02-09 Jim Blandy <jimb@redhat.com> * cgen-sim.scm (load-files): Don't load fixup.scm. (See corresponding change in the sim/common directory.) sim/common/ChangeLog: 2005-02-09 Jim Blandy <jimb@redhat.com> * Make-common.in (CGEN): Load guile.scm, and include a trailing '-s' argument. (CGEN_FLAGS_TO_PASS): Include single quotes around the reference to $(CGEN), to ensure that the command substitution happens where the variable is referenced in the submake, not when the submake's arguments are expanded. (cgen.sh): Be prepared for the 'cgen' argument to contain spaces. (arch, cpu, decode, cpu-decode, defs, desc): Place the name of the application Scheme script directly after ${cgen}; don't precede it with a -s.
2005-01-29 * Makefile.in (all, clean mostlyclean, distclean maintainer-clean)Hans-Peter Nilsson2-4/+9
(realclean, install): Fail if subdir make failed.
2005-01-28 * cris: New directory, simulator for Axis Communications CRISHans-Peter Nilsson35-0/+71595
including CRIS v32, CGEN-based. * configure.ac: Add corresponding configury. * configure: Regenerate.
2005-01-28 * syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.Hans-Peter Nilsson3-1/+278
* callback.c [HAVE_LIMITS_H]: Include limits.h. Include libiberty.h. (os_close, os_read, os_write, os_fstat, os_ftruncate): Support fd being either end of a pipe. (os_pipe, os_pipe_empty, os_pipe_nonempty): New functions. (os_shutdown): Clear pipe state. (default_callback): Initialize new members.