DJ Delorie
c5fbc25baf
Index: ChangeLog
...
* configure.ac (v850): V850 now has a testsuite.
* configure (v850): Likewise.
Index: testsuite/ChangeLog
* sim/v850/: New directory.
* sim/v850/allinsns.exp: New.
* sim/v850/bsh.cgs: New.
* sim/v850/div.cgs: New.
* sim/v850/divh.cgs: New.
* sim/v850/divh_3.cgs: New.
* sim/v850/divhu.cgs: New.
* sim/v850/divu.cgs: New.
* sim/v850/sar.cgs: New.
* sim/v850/satadd.cgs: New.
* sim/v850/satsub.cgs: New.
* sim/v850/satsubi.cgs: New.
* sim/v850/satsubr.cgs: New.
* sim/v850/shl.cgs: New.
* sim/v850/shr.cgs: New.
* sim/v850/testutils.cgs: New.
* sim/v850/testutils.inc: New.
Index: v850/ChangeLog
* simops.c (OP_C0): Correct saturation logic.
(OP_220): Likewise.
(OP_A0): Likewise.
(OP_660): Likewise.
(OP_80): Likewise.
* simops.c (OP_2A0): If the shift count is zero, clear the
carry.
(OP_A007E0): Likewise.
(OP_2C0): Likewise.
(OP_C007E0): Likewise.
(OP_280): Likewise.
(OP_8007E0): Likewise.
* simops.c (OP_2C207E0): Correct PSW flags for special divu
conditions.
(OP_2C007E0): Likewise, for div.
(OP_28207E0): Likewise, for divhu.
(OP_28007E0): Likewise, for divh. Also, sign-extend the correct
operand.
* v850.igen (divh): Likewise, for 2-op divh.
* v850.igen (bsh): Fix carry logic.
2008-02-06 00:40:05 +00:00
Hans-Peter Nilsson
bf31154ff3
* sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Tweak
...
stack-pointer match pattern for 4K host environment.
2007-11-08 22:12:27 +00:00
Hans-Peter Nilsson
9538c15c36
* sim/cris/asm/testutils.inc (test_move_cc): Add missing call to
...
test_cc.
* sim/cris/asm/asr.ms: Correct expected condition code flags.
* sim/cris/asm/boundr.ms: Ditto.
* sim/cris/asm/dstep.ms: Ditto.
* sim/cris/asm/lsr.ms: Ditto.
* sim/cris/asm/movecr.ms: Ditto.
* sim/cris/asm/mover.ms: Ditto.
* sim/cris/asm/neg.ms: Ditto. Use test_cc, not test_move_cc.
* sim/cris/asm/op3.ms: Check the condition code flags after the insn
under test.
* sim/cris/asm/movecrt10.ms: Update expected number of simulated
cycles.
* sim/cris/asm/movecrt32.ms: Ditto.
* sim/cris/asm/jsr.ms: Don't use local label 8.
* sim/cris/asm/nonvcv32.ms: New test.
2007-10-22 16:49:25 +00:00
Daniel Jacobowitz
eb639c5004
2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
...
* callback.c (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add functions.
* syscall.c (cb_syscall): Test for stdin/out/err, not just fd 0/1/2.
2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
* callback.h (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add prototypes.
2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
* sim/cris/c/freopen2.c: Added testcase.
2007-10-11 18:44:07 +00:00
Hans-Peter Nilsson
1654a6f728
* sim/cris/c/clone5.c, sim/cris/c/mprotect1.c,
...
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.
2006-10-02 03:18:51 +00:00
Hans-Peter Nilsson
539a52558f
* sim/cris/c/pipe2.c: Adjust expected output.
...
(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.
2006-09-30 02:34:43 +00:00
Hans-Peter Nilsson
c466736ab1
* sim/cris/hw/rv-n-cris/irq6.ms: New test.
2006-04-08 17:37:23 +00:00
Hans-Peter Nilsson
26d01138dd
* sim/cris/hw: New directory for subdirectories with tests.
...
* sim/cris/hw/rv-n-cris: New directory with tests.
2006-04-03 03:05:00 +00:00
Hans-Peter Nilsson
ef6affe12f
* sim/cris/asm/testutils.inc (test_h_mem): Use register prefix.
...
(testr_h_dr, test_h_dr, ldmem_h_gr, mvr_h_mem): Ditto. Correct
syntax.
2006-04-02 11:43:44 +00:00
Hans-Peter Nilsson
4369b6eb6e
* sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Widen regexp for
...
stack pointer values.
2006-04-02 11:31:41 +00:00
Hans-Peter Nilsson
77dfaed337
* sim/cris/c/time2.c: New test.
2006-02-23 02:01:09 +00:00
Hans-Peter Nilsson
9e49fc3d98
* sim/cris/asm/x1-v10.ms, sim/cris/asm/x3-v10.ms,
...
sim/cris/asm/x7-v10.ms: Update expected cycle output.
2006-01-10 07:11:21 +00:00
Hans-Peter Nilsson
632c75db43
* sim/cris/asm/movmp8.ms, sim/cris/asm/pcplus.ms: New tests.
...
* 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-06 22:42:07 +00:00
Hans-Peter Nilsson
5e1f64305e
* sim/cris: New directory with C and assembly tests for the CRIS
...
simulator.
2005-11-21 04:48:19 +00:00
Andrew Cagney
38f48d729d
Index: m32r/ChangeLog
...
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: m68hc11/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mcore/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mips/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mn10300/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: ppc/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: sh/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: testsuite/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: v850/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: erc32/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: frv/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: h8300/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: igen/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: ChangeLog
2005-01-11 Andrew Cagney <cagney@gnu.org>
* Makefile.in (autoconf-common autoheader-common): Add --force to
autoconf and autoheader.
(autoconf-common autoheader-common)
(autoconf-install autoheader-install): Check for configure.ac, not
configure.in.
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: arm/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: common/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* aclocal.m4 (SIM_AC_OUTPUT): Rewrite to use 2.59 macros.
* configure: Regenerated to track ../common/aclocal.m4 changes.
2005-01-12 16:23:24 +00:00
Andrew Cagney
b702665739
Index: arm/ChangeLog
...
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Replace configure.in. Requires autoconf 2.59 and
correctly calls AC_CONFIG_SUBDIRS.
* configure: Re-generate.
Index: common/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* aclocal.m4 (SIM_AC_COMMON): Delete call to AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: erc32/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: frv/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: h8300/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: igen/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: m32r/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: m68hc11/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: mcore/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: mips/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: mn10300/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: ppc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: sh/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/d10v-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/frv-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/m32r-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/mips64el-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: v850/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
2005-01-10 16:14:50 +00:00
Andrew Cagney
d0945c9b3b
2005-01-07 Andrew Cagney <cagney@gnu.org>
...
* configure.in: Pass literal subdirectories to AC_CONFIG_SUBDIRS.
* configure: Re-generate.
2005-01-07 23:37:38 +00:00
Andrew Cagney
4db6a73d17
2005-01-07 Andrew Cagney <cagney@gnu.org>
...
* fr30-elf, d30v-elf: Delete directory.
2005-01-07 23:25:38 +00:00
Hans-Peter Nilsson
310ca70ce2
* lib/sim-defs.exp (run_sim_test): Support "xfail" and "kfail".
2004-11-16 16:20:32 +00:00
Hans-Peter Nilsson
5eba45c188
* lib/sim-defs.exp (run_sim_test): Make multiple "output"
...
specifications concatenate, not override.
2004-11-16 07:06:17 +00:00
Nick Clifton
fcf640ecb2
(sim_run): Add support for the "rawsid" protocol.
2004-10-26 08:07:59 +00:00
DJ Delorie
a3ef5243fb
* lib/sim-defs.exp (run_sim_test): Add global_as_options,
...
global_ld_options, and global_sim_options to all test cases, if
defined.
2004-09-13 20:54:03 +00:00
Ben Elliston
bc81a370c5
* lib/sim-defs.exp: Remove stray semicolons.
2004-05-12 03:34:26 +00:00
Chris Demetriou
ba3b645acc
move entry from:
...
2004-03-29 Richard Sandiford <rsandifo@redhat.com>
from ChangeLog into sim/mips/Changelog
2004-04-10 06:58:21 +00:00
Richard Sandiford
11d66e667f
Fix date in last delta.
2004-03-29 22:01:45 +00:00
Richard Sandiford
a584aa6330
* sim/mips/hilo-hazard-[123].s: New files.
...
* sim/mips/basic.exp (run_hilo_test): New procedure.
(models): Only list models that are included in the configuration.
(submodels): New variable, set to submodels of the above.
(mips64vr-*-elf, mips64vrel-*-elf): New configuration stanza.
Run hilo-hazard-[123].s.
2004-03-29 21:58:01 +00:00
Richard Sandiford
676a64f422
Add fr450 support.
2004-03-01 10:11:46 +00:00
Richard Sandiford
8b73069fed
sim/frv/
...
* frv.c (frvbf_iacc_cut): Rework, taking rounding into account.
testsuite/
* sim/frv/fr400/scutss.cgs: Fix tests to account for rounding.
Add some new ones.
2004-03-01 09:33:48 +00:00
Richard Sandiford
8ae0baa268
cpu/
...
* frv.cpu (r-store, r-store-dual, r-store-quad): Delete.
(rstb, rsth, rst, rstd, rstq): Delete.
(rstbf, rsthf, rstf, rstdf, rstqf): Delete.
gas/testsuite/
* gas/frv/allinsn.s (rstb, rsth, rst, rstd, rstq): Replace with nops.
(rstbf, rsthf, rstf, rstdf, rstqf): Likewise.
* gas/frv/allinsn.d: Update accordingly.
opcodes/
* frv-desc.c, frv-opc.c, frv-opc.h: Regenerate.
sim/frv/
* decode.c, decode.h, model.c, sem.c: Regenerate.
sim/testsuite/
* sim/frv/{rstb,rsth,rst,rstd,rstq}.cgs: Delete.
* sim/frv/{rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.
2004-03-01 09:26:33 +00:00
Chris Demetriou
df0a8012b1
[ sim/ChangeLog ]
...
2004-01-26 Chris Demetriou <cgd@broadcom.com>
* configure.in (mips*-*-*): Configure in testsuite.
* configure: Regenerate.
[ sim/testsuite/ChangeLog ]
2004-01-26 Chris Demetriou <cgd@broadcom.com>
* sim/mips: New directory. Tests for the MIPS simulator.
[ sim/testsuite/sim/mips/ChangeLog ]
2004-01-26 Chris Demetriou <cgd@broadcom.com>
* basic.exp: New file.
* testutils.inc: New file.
* sanity.s: New file.
2004-01-26 08:12:44 +00:00
Ben Elliston
2345c93c5f
* lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
...
test passes.
2004-01-23 03:15:27 +00:00
Dave Brolley
5ca353c3d9
2003-10-10 Dave Brolley <brolley@redhat.com>
...
* sim/frv/testutils.inc (or_gr_immed): New macro.
* sim/frv/fp_exception-fr550.cgs: Write insns using
unaligned registers into the program in order to
cause the required exceptions.
* sim/frv/fp_exception.cgs: Ditto.
* sim/frv/regalign.cgs: Ditto.
2003-10-10 19:30:50 +00:00
Dave Brolley
086419a898
2003-10-06 Dave Brolley <brolley@redhat.com>
...
* sim/frv/fr550: New subdirectory.
* sim/frv/fr400/*.cgs: Add fr550 as appropriate.
* sim/frv/fr500/*.cgs: Add fr550 as appropriate.
* sim/frv/interrupts/*.cgs: Add fr550 as appropriate.
* sim/frv/interrupts/*-fr550.cgs: New test cases for fr550.
2003-10-08 18:21:02 +00:00
Michael Snyder
f6f87075ea
2003-09-19 Michael Snyder <msnyder@redhat.com>
...
* sim/frv/nldqi.cgs: Remove. This insn was never implemented
by Fujitsu.
2003-09-19 18:59:45 +00:00
Dave Brolley
d45d015e0c
2003-09-19 Dave Brolley <brolley@redhat.com>
...
* sim/frv/rstqf.cgs: Use nldq instead of nldqi.
* sim/frv/rstq.cgs: Use nldq instead of nldqi.
2003-09-19 17:38:57 +00:00
Michael Snyder
e961d8dc41
2003-09-11 Michael Snyder <msnyder@redhat.com>
...
* sim/testsuite/sim/frv/movgs.cgs: Change lcr to spr[273],
which according to the comments seems to be the intent.
2003-09-11 18:39:05 +00:00
Dave Brolley
fbd93201df
2003-09-09 Dave Brolley <brolley@redhat.com>
...
* sim/frv/maddaccs.cgs: move to fr400 subdirectory.
* sim/frv/msubaccs.cgs: move to fr400 subdirectory.
* sim/frv/masaccs.cgs: move to fr400 subdirectory.
2003-09-09 22:34:53 +00:00
Ben Elliston
cc9855138d
Spelling fix by the ChangeLog police.
2003-09-03 22:40:45 +00:00
Michael Snyder
19121792cc
2003-09-03 Michael Snyder <msnyder@redhat.com>
...
* sim/frv/fr500/mclracc.cgs: Change mach to 'all',
to be consistant with other tests in the directory.
2003-09-03 21:56:01 +00:00
Michael Snyder
0eb3d26069
2003-09-03 Michael Snyder <msnyder@redhat.com>
...
* sim/frv/interrupts/Ipipe-fr400.cgs: New file.
* sim/frv/interrupts/Ipipe-fr500.cgs: New file.
* sim/frv/interrupts/Ipipe.cgs: Remove (replaced by above).
2003-09-03 21:51:57 +00:00
Dave Brolley
51796a3f8b
2003-08-20 Michael Snyder <msnyder@redhat.com>
...
On behalf of Dave Brolley
* sim/frv: New testsuite.
* frv-elf: New testsuite.
2003-08-29 16:42:18 +00:00
Michael Snyder
b7c7b62431
2003-07-09 Michael Snyder <msnyder@redhat.com>
...
* sim/sh: New directory. Tests for Renesas sh family.
2003-07-23 21:41:09 +00:00
Michael Snyder
a27a0651eb
2003-04-13 Michael Snyder <msnyder@redhat.com>
...
* sim/h8300: New directory. Tests for Renesas h8/300 family.
2003-05-14 22:59:12 +00:00
Nick Clifton
49634642a5
Add tests for ARM simulator.
2003-04-01 11:07:58 +00:00
Andrew Cagney
c8cca39f98
Import current --enable-gdb-build-warnings.
2002-06-16 16:33:35 +00:00
Ben Elliston
f18ee7ef71
2001-07-31 Ben Elliston <bje@redhat.com>
...
* lib/sim-defs.exp (run_sim_test): Include a description such as
"assembling" or "linking" that identifies the phase a test fails
in, for easier analysis of failures.
2001-07-31 04:59:59 +00:00
Dave Brolley
0ab7df8a89
2000-11-01 Dave Brolley <brolley@cygnus.com>
...
* lib/sim-defs.exp (run_sm_test): Correct comment. "output" and
"xerror" options do not use a list of machines. Clear options from
previous test case. Use "$cpu_option" to identify the machine to the
assembler, if specified.
2000-11-01 15:40:35 +00:00
Andrew Cagney
eb2d80b469
Change profiling so that it is enabled by default. Re-generate everything.
2000-05-24 04:39:50 +00:00
Frank Ch. Eigler
58fddbac5a
* whitespace correction
2000-03-02 18:12:44 +00:00
Jason Molenda
c2c6d25f0d
import gdb-1999-09-21
1999-09-22 03:28:34 +00:00