summaryrefslogtreecommitdiffstats
path: root/sim
Commit message (Collapse)AuthorAgeFilesLines
* 2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>Daniel Jacobowitz2007-07-032-1/+6
| | | | | * compile.c (sim_resume): Fix the last byte of ARGV for SYS_CMDLINE.
* sim/mips/Richard Sandiford2007-06-283-36/+44
| | | | * configure.ac, configure: Revert last patch.
* sim/mips/Richard Sandiford2007-06-263-40/+44
| | | | | | | | * configure.ac (sim_mipsisa3264_configs): New variable. (mipsis32*-*-, mipsisa32r2*-*-*, mips64*-*-*, mips64r2*-*-*): Make every configuration support all four targets, using the triplet to determine the default. * configure: Regenerate.
* Changelog typo fix.Daniel Jacobowitz2007-06-251-1/+1
|
* sim/mips/Richard Sandiford2007-06-252-0/+5
| | | | * Makefile.in (m16_run.o): New rule.
* * mips3264r2.igen (DSHD): Fix compile warning.Thiemo Seufer2007-05-152-2/+6
|
* * mips.igen (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL,Thiemo Seufer2007-05-142-0/+32
| | | | | | | CVT.S.PU, FLOOR.L.fmt, LDXC1, LUXC1, LWXC1, MADD.fmt, MSUB.fmt, NMADD.fmt, NMSUB.fmt, PLL.PS, PLU.PS, PREFX, PUL.PS, PUU.PS, RECIP.fmt, ROUND.L.fmt, RSQRT.fmt, SWXC1, TRUNC.L.fmt): Add support for mips32r2.
* Add "make pdf" and "make install-pdf", from Brooks MosesDaniel Jacobowitz2007-03-272-0/+5
| | | | <brooks.moses@codesourcery.com>.
* 2007-03-02 Andrew Stubbs <andrew.stubbs@st.com>Daniel Jacobowitz2007-03-022-3/+13
| | | | * gencode.c (tab): Correct pre-decrement instructions when m == n.
* * mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32Thiemo Seufer2007-03-012-0/+13
| | | | and mips64.
* * armos.c (SWIflen): Do not treate file descriptor zero asMark Mitchell2007-02-272-1/+6
| | | | special.
* * dsp.igen: Update copyright notice.Thiemo Seufer2007-02-203-7/+13
| | | | * dsp2.igen: Fix copyright notice.
* [ gas/ChangeLog ]Thiemo Seufer2007-02-2011-92/+13385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2, ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support. (macro_build): Add case '2'. (macro): Expand M_BALIGN to nop, packrl.ph or balign. (validate_mips_insn): Add support for balign instruction. (mips_ip): Handle DSP R2 instructions. Support balign instruction. (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE, md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2 command line options. (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives. (md_show_usage): Add -mdspr2 and -mno-dspr2 help output. * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2, .set dspr2, .set nodspr2. [ gas/testsuite/ChangeLog ] * gas/mips/mips32-dspr2.s, gas/mips/mips32-dspr2.d: New test for DSP R2. * gas/mips/mips.exp: Run new test. [ include/opcode/Changelog ] * mips.h (OP_SH_BP, OP_MASK_BP): Add support for balign instruction. (INSN_DSPR2): Add flag for DSP R2 instructions. (M_BALIGN): New macro. [ opcodes/ChangeLog ] * mips-dis.c (mips_arch_choices): Add DSP R2 support. (print_insn_args): Add support for balign instruction. * mips-opc.c (D33): New shortcut for DSP R2 instructions. (mips_builtin_opcodes): Add DSP R2 instructions. [ sim/mips/ChangeLog ] * Makefile.in (IGEN_INCLUDE): Add dsp2.igen. * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add dsp2 to sim_igen_machine. * configure: Regenerate. * dsp.igen (do_ph_op): Add MUL support when op = 2. (do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph. (mulq_rs.ph): Use do_ph_mulq. (MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen. * mips.igen: Add dsp2 model and include dsp2.igen. (MFHI, MFLO, MTHI, MTLO): Extend these instructions for for *mips32r2, *mips64r2, *dsp. (MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions for *mips32r2, *mips64r2, *dsp2. * dsp2.igen: New file for MIPS DSP REV 2 ASE. [ sim/testsuite/sim/mips/ChangeLog ] * basic.exp: Run the dsp2 test. * utils-dsp.inc (dspckacc_astio, dspck_tsimm): New macro. * mips32-dsp2.s: New test.
* gdb/Daniel Jacobowitz2007-02-202-2/+5
| | | | | | | | | | | | | * MAINTAINERS: Disable -Werror for cris simulator. Build sparc64-solaris2.10 instead of the broken sparc-elf. * solib-frv.c: Include "solib.h". * Makefile.in (solib-frv.o): Update. * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. (xtensa_frame_this_id, xtensa_frame_prev_register) (xtensa_push_dummy_call): Use %p. sim/v850/ * Makefile.in (interp.o): Uncomment and update.
* * cris/traps.c (dump_statistics): Change format for cycle numbersHans-Peter Nilsson2007-02-202-19/+24
| | | | to %llu and cast parameters to unsigned long long.
* * mips.igen (jalr.hb, jr.hb): Add decoder for mip32r2/mips64r2Thiemo Seufer2007-02-192-5/+28
| | | | jumps with hazard barrier.
* * interp.c (sim_monitor): Flush stdout and stderr file descriptorsThiemo Seufer2007-02-192-0/+10
| | | | after each call to sim_io_write.
* (ColdReset): Set CP0 Config0 to reflect the address size supportedThiemo Seufer2007-02-192-4/+61
| | | | | | by this simulator. (decode_coproc): Recognise additional CP0 Config registers correctly.
* * cp1.c (value_fpr): Don't inherit existing FPR_STATE forThiemo Seufer2007-02-194-54/+190
| | | | | | | | | | | | | | | | | | | | | | | | | uninterpreted formats. If fmt is one of the uninterpreted types don't update the FPR_STATE. Handle fmt_uninterpreted_32 like fmt_word, and fmt_uninterpreted_64 like fmt_long. (store_fpr): When writing an invalid odd register, set the matching even register to fmt_unknown, not the following register. * interp.c (sim_open): If STATE_MEM_SIZE isn't set then set it to the the memory window at offset 0 set by --memory-size command line option. (sim_store_register): Handle storing 4 bytes to an 8 byte floating point register. (sim_fetch_register): Likewise for reading 4 bytes from an 8 byte register. (sim_monitor): When returning the memory size to the MIPS application, use the value in STATE_MEM_SIZE, not an arbitrary hardcoded value. (cop_lw): Don' mess around with FPR_STATE, just pass fmt_uninterpreted_32 to StoreFPR. (cop_sw): Similarly. (cop_ld): Pass fmt_uninterpreted_64 not fmt_uninterpreted. (cop_sd): Similarly. * mips.igen (not_word_value): Single version for mips32, mips64 and mips16.
* * interp.c (MEM_SIZE): Increase default memory size from 2 to 8Thiemo Seufer2007-02-192-1/+7
| | | | MBytes.
* * configure.ac (mips*-sde-elf*): Move in front of generic machineThiemo Seufer2007-02-173-8/+10
| | | | | configuration. * configure: Regenerate.
* 2007-02-17 Thiemo Seufer <ths@mips.com>Thiemo Seufer2007-02-175-17/+39
| | | | | | | | | | | | | [ sim/mips/ChangeLog ] * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add mdmx to sim_igen_machine. (mipsisa64*-*-*): Likewise. Remove dsp. (mipsisa32*-*-*): Remove dsp. * configure: Regenerate. [ sim/testsuite/sim/mips/ChangeLog ] * basic.exp: Add case for mips*-sde-elf*. (mdmxmodels): Run mdmx tests only on mdmx capable configurations.
* * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Add RUNTEST.Thiemo Seufer2007-02-162-0/+6
|
* * armemu.c (handle_v6_insn): Fix typo in sign extension test of the sext and ↵Nick Clifton2007-02-152-1/+6
| | | | sxtah instructions.
* * configure.ac: Add mips*-sde-elf* target.Thiemo Seufer2007-02-133-14/+37
| | | | * configure: Regenerate.
* * mips32-dsp.s: Run DSP testcase only for release 2 architecture.Thiemo Seufer2007-02-132-1/+5
|
* * mdmx-ob.s: Delete extraneous include.Thiemo Seufer2007-02-132-1/+4
|
* Reported by timeless@gmail.com:Daniel Jacobowitz2007-02-082-1/+6
| | | | | | | | | * gdb/target.c (target_flash_erase): Do not return void value. (target_flash_done): Likewise. * gdb/cli/cli-cmds.c (source_command): Likewise. Reported by timeless@gmail.com: * wrapper.c (sim_target_parse_arg_array): Do not return void value.
* 2007-01-28 Manuel Lauss <slauss@resi.at>Mike Frysinger2007-01-293-4/+10
| | | | | | * configure.ac (sh64-*-*): Change to sh64*-*-*. (sh-*-*): Change to sh*-*-*. * configure: Regenerated.
* Add changelog entries for copyright updates.Daniel Jacobowitz2007-01-101-0/+4
|
* 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.
OpenPOWER on IntegriCloud