aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
2006-03-072006-03-07 Paul Brook <paul@codesourcery.com>Paul Brook2-2/+6
* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
2006-02-23 * cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_timeHans-Peter Nilsson2-1/+17
mapping. (cris_break_13_handler) <case TARGET_SYS_time>: New case.
2006-02-23 * sim/cris/c/time2.c: New test.Hans-Peter Nilsson2-0/+22
2006-02-02 * emul_netbsd.c (emul_netbsd_create): Quote file-name property.Mark Mitchell5-2/+65
* emul_unix.c (emul_unix_create): Likewise. * tree.c (libiberty.h): Include it. (tree_quote_property): New function. * tree.h (tree_quote_property): Declare.
2006-02-02 * armos.c (ARMul_OSHandleSWI): Handle the RedBoot systemDaniel Jacobowitz2-3/+25
call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
2006-01-25 * words.h (natural32): Define as "int".Mark Mitchell2-1/+5
2006-01-24 * words.h (signed32): Define as "int".Mark Mitchell2-2/+7
(unsigned32): Define as "unsigned int".
2006-01-23sim/ChangeLog:Jim Blandy35-0/+17347
2005-10-06 Jim Blandy <jimb@redhat.com> Add simulator for Renesas M32C and M16C. * m32c: New directory. * configure.ac: Add entry for Renesas M32C. * configure: Regenerate. sim/m32c/ChangeLog: 2005-10-06 Jim Blandy <jimb@redhat.com> Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>, with further work from Jim Blandy <jimb@redhat.com> and Kevin Buettner <kevinb@redhat.com>. * ChangeLog: New. * Makefile.in: New. * blinky.S: New. * config.in: New. * configure: New. * configure.in: New. * cpu.h: New. * gdb-if.c: New. * gloss.S: New. * int.c: New. * int.h: New. * load.c: New. * load.h: New. * m32c.opc: New. * main.c: New. * mem.c: New. * mem.h: New. * misc.c: New. * misc.h: New. * opc2c.c: New. * r8c.opc: New. * reg.c: New. * safe-fgets.c: New. * safe-fgets.h: New. * sample.S: New. * sample.ld: New. * sample2.c: New. * srcdest.c: New. * syscalls.c: New. * syscalls.h: New. * trace.c: New. * trace.h: New.
2006-01-10Now saved ChangeLog for previous entry.Hans-Peter Nilsson1-1/+2
2006-01-10 * sim/cris/asm/x1-v10.ms, sim/cris/asm/x3-v10.ms,Hans-Peter Nilsson4-4/+15
sim/cris/asm/x7-v10.ms: Update expected cycle output.
2006-01-10Update Copyright yearsHans-Peter Nilsson1-1/+1
2006-01-10 * cris/cris-tmpl.c (MY (f_model_insn_before)): Only display basicHans-Peter Nilsson2-18/+15
cycle count for the current insn.
2005-12-14* basic.exp: Run the dsp test.Chao-ying Fu4-0/+1192
* utils-dsp.inc: New file. * mips32-dsp.s: New test.
2005-12-14* Makefile.in (SIM_OBJS): Add dsp.o.Chao-ying Fu8-86/+2044
(dsp.o): New dependency. (IGEN_INCLUDE): Add dsp.igen. * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*, mipsisa64r2*-*-*, mipsisa64*-*-*): Add dsp to sim_igen_machine. * configure: Regenerate. * mips.igen: Add dsp model and include dsp.igen. (MFHI, MFLO, MTHI, MTLO): Remove mips32, mips32r2, mips64, mips64r2, because these instructions are extended in DSP ASE. * sim-main.h (LAST_EMBED_REGNUM): Change from 89 to 96 because of adding 6 DSP accumulator registers and 1 DSP control register. (AC0LOIDX, AC0HIIDX, AC1LOIDX, AC1HIIDX, AC2LOIDX, AC2HIIDX, AC3LOIDX, AC3HIIDX, DSPLO, DSPHI, DSPCRIDX, DSPCR, DSPCR_POS_SHIFT, DSPCR_POS_MASK, DSPCR_POS_SMASK, DSPCR_SCOUNT_SHIFT, DSPCR_SCOUNT_MASK, DSPCR_SCOUNT_SMASK, DSPCR_CARRY_SHIFT, DSPCR_CARRY_MASK, DSPCR_CARRY_SMASK, DSPCR_CARRY, DSPCR_EFI_SHIFT, DSPCR_EFI_MASK, DSPCR_EFI_SMASK, DSPCR_EFI, DSPCR_OUFLAG_SHIFT, DSPCR_OUFLAG_MASK, DSPCR_OUFLAG_SMASK, DSPCR_OUFLAG4, DSPCR_OUFLAG5, DSPCR_OUFLAG6, DSPCR_OUFLAG7, DSPCR_CCOND_SHIFT, DSPCR_CCOND_MASK, DSPCR_CCOND_SMASK): New define. (DSPLO_REGNUM, DSPHI_REGNUM): New array for DSP accumulators. * dsp.c, dsp.igen: New files for MIPS DSP ASE.
2005-12-07Add missing ChangeLog entryHans-Peter Nilsson1-0/+7
2005-12-06 * cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,Hans-Peter Nilsson12-1494/+807
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-12-06 * sim/cris/asm/movmp8.ms, sim/cris/asm/pcplus.ms: New tests.Hans-Peter Nilsson5-2/+98
* sim/cris/asm/movmp.ms: Do not write to P0, P4 or P8. * sim/cris/asm/raw13.ms: Write to MOF instead of WZ (P4).
2005-12-05 * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,Hans-Peter Nilsson19-1596/+3209
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-12-05Fix typo last entryHans-Peter Nilsson1-1/+1
2005-11-29 * sim-signal.c (sim_signal_to_target): Fix typos.Mark Mitchell2-2/+4
2005-11-28 * configure.ac (USE_WIN32API): Define it.Mark Mitchell6-71/+167
* configure.in: Regenerate. * config.in: Likewise. * emul_netbsd.c (write_timezone): Guard with HAVE_GETTIMEOFDAY. * emul_unix.c (do_unix_mkdir): Handle Win32 1-argument mkdir.
2005-11-28 * psim.c: Include gdb/signals.h.Mark Mitchell2-1/+3
2005-11-28 * remote-sim.c (gdbsim_wait): Pass target signal numbers toMark Mitchell13-40/+89
sim_resume. Expect target signal numbers from sim_stop_reason. * wrapper.c (gdb/signals.h): Include it. (SIGTRAP): Don't define. (SIGBUS): Likewise. (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*. * sim-reason.c (sim_stop_reason): Use sim_signal_to_target, not sim_signal_to_host. * sim-signal.c (sim_signal_to_host): Fix typo. (sim_signal_to_target): New function. * interp.c (gdb/signals.h): Include it. (sim_stop_reason): Use TARGET_SIGNAL_*. * interf.c: (gdb/signals.h): Include it. (sim_stop_reason): Use TARGET_SIGNAL_*. * sim_calls.c (gdb/signals.h): Include it. (sim_stop_reason): Use TARGET_SIGNAL_*. * psim.c (cntrl_c_simulation): Use TARGET_SIGNAL_*.
2005-11-21 * sim/cris: New directory with C and assembly tests for the CRISHans-Peter Nilsson316-0/+13606
simulator.
2005-11-20 cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.Hans-Peter Nilsson2-6/+33
(open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and TARGET_O_WRONLY. (cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for F_GETFL on fd 0, 1 and 2.
2005-11-17 * cris/sim-main.h (struct _sim_cpu): New members last_syscall,Hans-Peter Nilsson3-5/+61
last_open_fd, last_open_flags. * cris/traps.c: Don't include targ-vals.h. (TARGET_O_ACCMODE): Define. (cris_break_13_handler): Set new _sim_cpu members. <case TARGET_SYS_fcntl>: Support special case of F_GETFL. Rearrange code as switch. Emit "unimplemented" abort for unimplemented fcntl calls.
2005-11-17 * cris/traps.c (TARGET_SYS_stat): Define.Hans-Peter Nilsson2-0/+9
(syscall_stat32_map): Add entry for TARGET_SYS_stat. (cris_break_13_handler) <case TARGET_SYS_stat>: New case.
2005-11-172005-11-16 Shaun Jackman <sjackman@gmail.com>Daniel Jacobowitz2-13/+104
* sim/arm/armos.c: Include limits.h (unlink): Remove this macro. It is unused in this file and conflicts with sim_callback->unlink. (PATH_MAX): Define as 1024 if not already defined. (ReadFileName): New function. (SWIopen): Fix a potential buffer overflow. (SWIremove): New function. (SWIrename): Ditto. (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY, SWI_Remove, and SWI_Rename, as well as the RDI calls AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and AngelSWI_Reason_Rename.
2005-11-16 * cris/cris-tmpl.c (MY (f_model_insn_before)): Make sure only theHans-Peter Nilsson2-7/+15
low 32 bits are used after an unsigned long cast.
2005-11-102005-11-10 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-1/+6
* interp.c (sim_memory_size): Use same amount of memory on Windows as elsewhere.
2005-10-282005-10-28 Dave Brolley <brolley@redhat.com>Dave Brolley14-907/+3171
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate. Contribute the following changes: 2003-09-29 Dave Brolley <brolley@redhat.com> * frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of CGEN_ATTR_VALUE_TYPE. * mloop.in: Ditto. * pipeline.c: Ditto. * traps.c: Ditto.
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