summaryrefslogtreecommitdiff
path: root/sim
Commit message (Collapse)AuthorAgeFilesLines
* Copyright updates for 2007.Daniel Jacobowitz2007-01-09289-291/+308
|
* * Makefile.in (autoconf-common autoheader-common): Only runHans-Peter Nilsson2006-12-212-1/+4
| | | | autoheader on subdirs with a file config.in.
* * acconfig.h: Remove.Hans-Peter Nilsson2006-12-2136-1595/+617
| | | | * config.in: Regenerate.
* * config.in, configure: Regenerate.Hans-Peter Nilsson2006-12-213-145/+69
|
* * acconfig.h: Remove.Hans-Peter Nilsson2006-12-214-152/+76
| | | | * config.in, configure: Regenerate.
* * config.in: Regenerate.Hans-Peter Nilsson2006-12-216-284/+210
|
* * configure.ac (common): Make the default "yes" for all targetsHans-Peter Nilsson2006-12-213-34/+14
| | | | | with sim subdirs. * configure: Regenerate.
* * configure.ac: Add test for readline, substitute READLINE.Hans-Peter Nilsson2006-12-204-3/+101
| | | | | | | | * Makefile.in (READLINE_LIB): New substituted-contents variable. (SIM_EXTRA_LIBDEPS): Don't set. (SIM_EXTRA_LIBS): Use $(READLINE_LIB) instead of ../../readline/libreadline.a. * configure: Regenerate.
* * Makefile.in (autoconf-common autoheader-common): In documentedHans-Peter Nilsson2006-12-202-2/+6
| | | | | usage, say SHELL=/bin/sh. (.PHONY): Add autoheader-common.
* * MAINTAINERS: Add self as authorized committer for *.Hans-Peter Nilsson2006-12-202-0/+5
|
* 2006-11-22 Tom Marn <tom.marn@telargo.com>Andrew Cagney2006-11-292-7/+17
| | | | | Committed by Andrew Cagney. * ppc-instructions: Implement optional PowerPC stfiwx instruction.
* * basic.exp: Fix spelling in comment. Use canonical form of targetThiemo Seufer2006-11-082-11/+21
| | | | | patterns. Run DSP test only for DSP-capable ISAs. Check also mips32r2 and mips64r2 if supported by the target.
* * gentmap.c: Fix compile time warning.Thiemo Seufer2006-11-072-0/+5
|
* * sim-base.h (text_start, text_end, start_addr): Use bfd_vma typeThiemo Seufer2006-11-072-2/+7
| | | | for bfd text addresses.
* * dsp.igen (do_w_op): Fix compiler warning.Thiemo Seufer2006-11-072-2/+6
|
* 2006-10-18 Dave Brolley <brolley@redhat.com>Dave Brolley2006-10-1822-3586/+11325
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Contribute the following changes: 2006-06-14 Dave Brolley <brolley@redhat.com> * sh64-sim.h (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv) (sh64_fpref): New functions. * sh64.c (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv) (sh64_fpref): New functions. (sh_models): Add sh2e, sh2a, sh2a_nofpu, sh4_nofpu, sh4a, sh4a_nofpu and sh4al. (sh2e_mach): New MACH. (sh2a_fpu_mach): New MACH. (sh2a_nofpu_mach): New MACH. (sh4_nofpu): New MACH. (sh4a_mach): New MACH. (sh4a_nofpu_mach): New MACH. (sh4al_mach): New MACH. * Makefile.in (stamp-*): Depend on $(CGEN_CPU_DIR)/sh-sim.cpu. Pass archfile to CGEN script. * arch.c: Regenerated. * arch.h: Regenerated. * cpu.c: Regenerated. * cpu.h: Regenerated. * cpuall.h: Regenerated. * decode-compact.c: Regenerated. * decode-compact.h: Regenerated. * decode-media.c: Regenerated. * decode-media.h: Regenerated. * defs-compact.h: Regenerated. * defs-media.h: Regenerated. * sem-compact-switch.c: Regenerated. * sem-compact.c: Regenerated. * sem-media-switch.c: Regenerated. * sem-media.c: Regenerated. * sh-desc.c: Regenerated. * sh-desc.h: Regenerated. * sh-opc.h: Regenerated.
* * cris/cris-sim.h (enum cris_unknown_syscall_action_type)Hans-Peter Nilsson2006-10-024-112/+198
| | | | | | | | | | | | | | (cris_unknown_syscall_action): Declare. * cris/sim-if.c (cris_unknown_syscall_action): Define. (cris_options): Add cris-unknown-syscall option. (cris_option_handler): Correct comment about and error message for invalid --cris-cycles argument. Handle --cris-unknown-syscall. * cris/traps.c: Include stdarg.h (cris_unknown_syscall): New function. (cris_break_13_handler): Instead of sim_io_eprintf and sim_engine_halt, call cris_unknown_syscall to handle more or less unknown syscalls. Adjust code as necessary to handle return value.
* * sim/cris/c/clone5.c, sim/cris/c/mprotect1.c,Hans-Peter Nilsson2006-10-0231-16/+233
| | | | | | | | | | | | | | | | | | | sim/cris/c/rtsigprocmask1.c, sim/cris/c/rtsigsuspend1.c, sim/cris/c/sig7.c, sim/cris/c/sigreturn1.c, sim/cris/c/sigreturn2.c, sim/cris/c/syscall1.c, sim/cris/c/syscall2.c, sim/cris/c/sysctl2.c, sim/cris/c/fcntl1.c, sim/cris/c/readlink2.c: Add code to print ENOSYS if syscall being tested returns ENOSYS. Add early exit where needed. Change any existing code to print "xyzzy", not "pass". * sim/cris/asm/option3.ms, sim/cris/asm/option4.ms, sim/cris/c/clone6.c, sim/cris/c/fcntl2.c, sim/cris/c/mprotect2.c, sim/cris/c/readlink11.c, sim/cris/c/rtsigprocmask2.c, sim/cris/c/rtsigsuspend2.c, sim/cris/c/sig13.c, sim/cris/c/sigreturn3.c, sim/cris/c/sigreturn4.c, sim/cris/c/syscall3.c, sim/cris/c/syscall4.c, sim/cris/c/syscall5.c, sim/cris/c/syscall6.c, sim/cris/c/syscall7.c, sim/cris/c/syscall8.c, sim/cris/c/sysctl3.c: New tests.
* * MAINTAINERS: Add Dave Brolley for sh64.Daniel Jacobowitz2006-10-012-0/+5
|
* * cris/traps.c (TARGET_PIPE_BUF): New macro.Hans-Peter Nilsson2006-09-302-13/+31
| | | | | | (cris_pipe_empty): Correct initialization of "remaining". Only adjust the "write" return value if more than TARGET_PIPE_BUF bytes are written.
* * sim/cris/c/pipe2.c: Adjust expected output.Hans-Peter Nilsson2006-09-302-8/+36
| | | | | | | | (process): Don't write as much to the pipe as to trig the inordinate-amount test in the sim pipe machinery. Correct test of write return-value; check only that pipemax bytes were successfully written. For error-case, emit strerror as well. (main): Add a second read.
* * cris/configure.ac: Check for limits.h and sys/param.h.Hans-Peter Nilsson2006-09-295-11/+143
| | | | | | * cris/configure, cris/config.in: Rebuild. * cris/traps.c (SIM_PATHMAX): New macro. (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
* * sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly forThiemo Seufer2006-08-292-0/+10
| | | | SIM_QUIET_NAN_NEGATED.
* * sim-profile.c (profile_pc_init): Initialise default profilingThiemo Seufer2006-08-292-1/+9
| | | | | | frequency to a prime number. (profile_print_pc): Convert gmon.out sample data into target byte order.
* * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*): Add smartmips toThiemo Seufer2006-08-295-2/+146
| | | | | | | | | | | | sim_igen_machine. * configure: Regenerate. * mips.igen (model): Add smartmips. (MADDU): Increment ACX if carry. (do_mult): Clear ACX. (ROR,RORV): Add smartmips. (include): Include smartmips.igen. * sim-main.h (ACX): Set to REGISTERS[89]. * smartmips.igen: New file.
* * Makefile.in (IGEN_INCLUDE): Add missing includes for m16e.igen andThiemo Seufer2006-08-293-1/+281
| | | | | mips3264r2.igen. Add missing dependency rules. * m16e.igen: Support for mips16e save/restore instructions.
* * testutils.inc (setup): __start is also a valid start symbol.Thiemo Seufer2006-08-292-0/+6
|
* Add myself as mips maintainer.Thiemo Seufer2006-08-251-0/+1
|
* gdb/Daniel Jacobowitz2006-08-086-3/+32
| | | | | | | | | | | | * config/sparc/embed.mt: New file. * configure.tgt (sparc-*-rtems*): Use embed.mt. sim/ * configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator. * Makefile.in (FLAGS_TO_PASS): Include libdir. * configure: Regenerated. sim/erc32/ * Makefile.in (func.o, help.o): Correct dependencies. * Makefile.in (install-sis): Honor DESTDIR.
* compile.c (OBITOP): Bit address mask low three bit.Yoshinori Sato2006-07-192-3/+8
| | | | compile.c (decode): Fix warning.
* Patch reviewed and approved by Daniel Jacobowitz <drow@false.org>.Fred Fish2006-07-122-1/+5
| | | | | | 2006-07-12 Fred Fish <fnf@specifix.com> * sim-endian.h (asm/byteorder.h): Don't include private kernel header.
* * r8c.opc (decode_r8c): Don't bother reading the destinationDJ Delorie2006-06-262-4/+9
| | | | before moving a constant into it. Fix borrow comparison for SUB.
* * common/aclocal.m4: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.Richard Earnshaw2006-06-1335-36/+119
| | | | | * common/common.m4: Likewise. * */configure: Regenerate.
* common/Daniel Jacobowitz2006-06-0535-35/+1498
| | | | | | * aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR. most subdirs/ * configure: Regenerated.
* Configury changes: update src repository (binutils, gdb, and rda) to useDaniel Jacobowitz2006-05-3140-50852/+955
| | | | | config/gettext-sister.m4 instead of the old gettext.m4. Regenerate all affected autotools files. Include intl in gdb releases again.
* * mips32-dsp.s: Add some tests for shra_r.ph, shrav_r.ph, shra_r.w,Chao-ying Fu2006-05-152-0/+16
| | | | shrav_r.w.
* * dsp.igen (do_ph_shift, do_w_shra): Fix bugs for rounding instructions.Chao-ying Fu2006-05-152-6/+12
|
* sim/:Andreas Schwab2006-05-058-8/+35
| | | | | | | | | | | | | | | | | * configure.ac (CFLAGS_FOR_BUILD): Set and substitute. * configure: Regenerate. * Makefile.in (CFLAGS_FOR_BUILD): Define. (CC_FOR_BUILD): Don't override. (FLAGS_TO_PASS): Pass CFLAGS_FOR_BUILD. sim/ppc/: * configure.ac (CFLAGS_FOR_BUILD): Set and substitute. * configure: Regenerate. * Makefile.in (CFLAGS_FOR_BUILD): Define. (BUILD_CFLAGS): Use it instead of hardcoding "-g -O". (gentmap): Fix typo BUILD_FLAGS -> BUILD_CFLAGS.
* * MAINTAINERS: Add an "Authorized committers" section, and listDaniel Jacobowitz2006-05-042-0/+8
| | | | DJ Delorie for v850.
* * Makefile.in (tmp-ld-decode): Fix dependencies.Andreas Schwab2006-04-232-3/+9
| | | | | (tmp-ld-cache): Likewise. (tmp-ld-insn): Likewise.
* * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break statement.Nick Clifton2006-04-182-0/+6
|
* ooops - omitted from previous deltaNick Clifton2006-04-181-0/+4
|
* * interp.c (sim_stop_reason): Fix typo.Nick Clifton2006-04-181-1/+1
|
* * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.Hans-Peter Nilsson2006-04-082-0/+6
|
* * sim/cris/hw/rv-n-cris/irq6.ms: New test.Hans-Peter Nilsson2006-04-082-0/+103
|
* * sim/cris/hw: New directory for subdirectories with tests.Hans-Peter Nilsson2006-04-0322-0/+986
| | | | * sim/cris/hw/rv-n-cris: New directory with tests.
* * cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.Hans-Peter Nilsson2006-04-0314-13/+2649
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cris/Makefile.in (CONFIG_DEVICES): Remove redundant setting. (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules. (all): Depend on rvdummy$(EXEEXT). * cris/configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE, default off. * cris/configure: Regenerate. * cris/cris-sim.h (cris_have_900000xxif): Declare here. (enum cris_interrupt_type, crisv10deliver_interrupt) (crisv32deliver_interrupt: New declarations. * cris/cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call sim_events_tickn and set state-events member work_pending when it's time for the next event. [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific interrupt-delivery function. * cris/crisv10f.c (MY (deliver_interrupt)): New function. * cris/crisv32f.c (MY (deliver_interrupt)): New function. * cris/devices.c: Include hw-device.h. (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer. (device_io_write_buffer): Only perform 0x900000xx-functions if cris_have_900000xxif is nonzero. Else if WITH_HW defined, call hw_io_write_buffer. Add return 0 last in function. * cris/sim-if.c (cris_have_900000xxif): Now global. (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member. Force "-model" option, effectively. * cris/sim-main.h (cris_interrupt_delivery_fn): New type. (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
* * cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.Hans-Peter Nilsson2006-04-022-4/+8
| | | | | (CRISV32F_OBJS): Remove semcrisv32f-switch.o. (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
* * sim/cris/asm/testutils.inc (test_h_mem): Use register prefix.Hans-Peter Nilsson2006-04-022-8/+14
| | | | | (testr_h_dr, test_h_dr, ldmem_h_gr, mvr_h_mem): Ditto. Correct syntax.
* * sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Widen regexp forHans-Peter Nilsson2006-04-023-4/+9
| | | | stack pointer values.