summaryrefslogtreecommitdiff
path: root/sim
Commit message (Collapse)AuthorAgeFilesLines
* 2005-09-19 Paul Brook <paul@codesourcery.com>Paul Brook2005-09-197-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.
* * interp.c (<sys/mman.h>): Include.Joern Rennecke2005-09-192-5/+42
| | | | | | (mcalloc): New function / macro. (mfree): New macro. (sim_size): Use mcalloc and mfree.
* * interp.c (strswaplen): Add one for '\0' delimiter.Joern Rennecke2005-08-022-1/+9
|
* * hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's.Ben Elliston2005-07-152-1/+4
|
* * hw_init.c: Comment out tokens after #endif directive.Ben Elliston2005-07-155-4/+11
| | | | | | * hw_register.c: Likewise. * hw_trace.c: Likewise. * hw_vm.c: Likewise.
* * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPESHans-Peter Nilsson2005-07-102-4/+5
| | | | change.
* * sim-fpu.c (sim_fpu_abs): Always clear the sign bit.Ian Lance Taylor2005-07-082-8/+4
|
* * tconfig.in (SIM_QUIET_NAN_NEGATED): Define.Ian Lance Taylor2005-07-082-0/+7
|
* * sim-fpu.c (pack_fpu): If SIM_QUIET_NAN_NEGATED is defined, use aIan Lance Taylor2005-07-082-1/+18
| | | | | different fraction for a quiet NaN. (unpack_fpu): Likewise.
* * callback.c: Remove ANSI_PROTOTYPES conditional code.Ben Elliston2005-07-084-64/+6
| | | | | * sim-load.c: Likewise. * syscall.c: Likewise.
* * func.c: Remove ANSI_PROTOTYPES conditional code.Ben Elliston2005-07-082-4/+4
|
* * gencode.c (tab): Avoid lvalue casts. Suggested byDaniel Jacobowitz2005-06-172-1/+8
| | | | Ralf Corsepius <ralf.corsepius@rtems.org>.
* * mips.igen: New mips16e model and include m16e.igen.David Ung2005-06-165-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.
* * cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.Hans-Peter Nilsson2005-05-282-1/+7
|
* 2005-05-26 Chris Demetriou <cgd@netbsd.org>Chris Demetriou2005-05-262-1/+6
| | | | | * MAINTAINERS: Update my mail address, move myself to the "Past maintainers" section.
* 2005-05-26 David Ung <davidu@mips.com>Chris Demetriou2005-05-266-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.
* (handle_v6_thumb_insn): New function.Nick Clifton2005-05-242-15/+78
| | | | | (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined instruction binary is encountered.
* * Make-common.in (LIBDEPS): Correctly use INTLDEPS for dependencyCorinna Vinschen2005-05-242-1/+6
| | | | check.
* Update copyright years for last commit.Daniel Jacobowitz2005-05-181-1/+2
|
* * Make-common.in (install-common, installdirs): Honor $DESTDIR.Daniel Jacobowitz2005-05-182-5/+9
|
* * configure.ac: Add igen to v850 build.Corinna Vinschen2005-05-173-0/+7
| | | | * configure: Regenerate.
* Typo fix.Ben Elliston2005-05-161-1/+1
|
* Update the address of the FSF organizationNick Clifton2005-05-1233-34/+45
|
* * sh-desc.h: Move extern declaration of sh_cgen_ifld_table afterCorinna Vinschen2005-05-022-4/+9
| | | | inclusion of cgen.h.
* 2005-04-29 Paul Brook <paul@codesourcery.com>Paul Brook2005-04-295-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-27 Paul Brook <paul@codesourcery.com>Paul Brook2005-04-272-3/+7
| | | | * common/Make-common.in: Add $(EXEEXT) to "run".
* * armemu.c (handle_v6_insn): New function - emulate a few of the v6 ↵Nick Clifton2005-04-255-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.
* added missing header file #include "libiberty.h" to psim.cManoj Iyer2005-04-201-0/+1
| | | | | | 2005-04-20 Manoj Iyer <manjo@austin.ibm.com> * psim.c: Added libiberty.h header file.
* added missing header file libiberty.h to psim.cManoj Iyer2005-04-201-0/+4
|
* Insert a blank like after headerManoj Iyer2005-04-201-0/+1
|
* Inserting a blank line to changelogManoj Iyer2005-04-201-0/+1
|
* unsigned32 and unsigned64 is multiply defined in sim-types.h.Manoj Iyer2005-04-202-5/+9
| | | | | | 2005-04-20 Manoj Iyer <manjo@austin.ibm.com> * sim-types.h: Changed unsigned32 and unsigned64 to signed32 and signed64 for __ALPHA__.
* Use HAVE_LONG_LONG to check if compiler supports long long instead of using ↵Manoj Iyer2005-04-205-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.
* (WMAC, WMADD): Move casts from the LHS of an assignment operator to the RHS.Nick Clifton2005-04-182-12/+19
| | | | | (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to indicate an unsigned long long constant.
* * cris/traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:Hans-Peter Nilsson2005-04-182-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.
* * configure.ac: Add explicit sh64 case.Corinna Vinschen2005-04-158-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.
* * gencode.c (tab): Avoid inserting code before variables all declared.Jonathan Larmour2005-04-142-4/+8
|
* 2005-03-30 Paul Brook <paul@codesourcery.com>Paul Brook2005-03-302-0/+12
| | | | * arm/wrapper.c: Provide SIGTRAP and SIGBUS.
* Fix memset thinkos.Anthony Green2005-03-252-1/+5
|
* * cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge toHans-Peter Nilsson2005-03-2421-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.
* * cris/traps.c (cris_break_13_handler) <caseHans-Peter Nilsson2005-03-242-12/+19
| | | | | TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags, sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
* From common/ChangeLog:Mark Kettenis2005-03-2333-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.
* sim/common/ChangeLog:Jim Blandy2005-03-159-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.
* * iq2000: New target subdirectory.Corinna Vinschen2005-03-0825-0/+21933
| | | | | * configure.ac: Add iq2000 target. * configure: Regenerate.
* 2005-03-07 Jerome Guitton <guitton@gnat.com>Jerome Guitton2005-03-076-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.
* * callback.c (os_fstat): Don't declare 't' unless it's used.Jim Blandy2005-02-212-0/+6
|
* cgen/ChangeLog:Jim Blandy2005-02-093-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.
* * Makefile.in (all, clean mostlyclean, distclean maintainer-clean)Hans-Peter Nilsson2005-01-292-4/+9
| | | | (realclean, install): Fail if subdir make failed.
* * cris: New directory, simulator for Axis Communications CRISHans-Peter Nilsson2005-01-2835-0/+71595
| | | | | | including CRIS v32, CGEN-based. * configure.ac: Add corresponding configury. * configure: Regenerate.
* * syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.Hans-Peter Nilsson2005-01-283-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.