aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2004-09-13* sim/sh/allinsn.exp: Set global_as_options andDJ Delorie3-0/+84
global_ld_options appropriately for little endian builds. * sim/sh/movua.s: Support little endian.
2004-09-13* lib/sim-defs.exp (run_sim_test): Add global_as_options,DJ Delorie2-3/+22
global_ld_options, and global_sim_options to all test cases, if defined.
2004-09-08 * allinsn.exp: Add new tests.Corinna Vinschen22-4/+2280
* bandor.s: New file. * bandornot.s: New file. * bclr.s: New file. * bld.s: New file. * bldnot.s: New file. * bset.s: New file. * bst.s: New file. * bxor.s: New file. * clip.s: New file. * div.s: New file. * fail.s: New file, make sure fail works. * fsca.s: New file. * fsrra.s: New file. * mov.s: New file. * mulr.s: New file. * pass.s: New file, make sure pass works. * pushpop.s: New file. * resbank.s: New file. * testutils.inc (bf8k, bt8k, assertmem): New macros.
2004-06-28sim/h8300/ChangeLog:Alexandre Oliva3-14/+21
2003-07-23 Richard Sandiford <rsandifo@redhat.com> * compile.c (sim_resume): Make sure that dst.reg refers to the right register byte in mova/sz.l @(dd,RnL),ERn. 2003-07-21 Richard Sandiford <rsandifo@redhat.com> * compile.c (sim_resume): Zero-extend immediate to muls, mulsu, mulxs, divs and divxs. sim/testsuite/sim/h8300/ChangeLog: 2003-07-22 Michael Snyder <msnyder@redhat.com> * mul.s: Don't try to use negative immediate (it's always unsigned). * div.s: Ditto.
2004-06-242004-06-17 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva4-5/+15
* band.s, biand.s: imm3_abs16 is not available on h8300h. * bset.s: Likewise. Ditto for rn_abs32.
2004-05-12 * lib/sim-defs.exp: Remove stray semicolons.Ben Elliston2-1/+5
2004-04-112004-04-11 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-7/+31
* utils-fpu.inc (enable_fpu, ckm_fp_cc): New macros. (clrset_fp_cc): Fix mask used for upper 7 condition codes. * utils-mdmx.inc: Include utils-fpu.inc. (enable_mdmx): Use enable_fpu.
2004-04-112004-04-10 Chris Demetriou <cgd@broadcom.com>Chris Demetriou6-0/+904
* utils-fpu.inc: New file. * utils-mdmx.inc: New file. * mdmx-ob.s: New file. * mdmx-ob-sb1.s: New file. * basic.exp: Run new mdmx-ob and mdmx-ob-sb1 tests.
2004-04-10im/mips/ChangeLog ]Chris Demetriou3-1/+83
2004-04-10 Chris Demetriou <cgd@broadcom.com> * sb1.igen (DIV.PS, RECIP.PS, RSQRT.PS, SQRT.PS): New. [ sim/testsuite/sim/mips/ChangeLog ] 2004-04-10 Chris Demetriou <cgd@broadcom.com> * fpu64-ps-sb1.s: New file. * basic.exp: Recognize mipsisa64sb1 targets, and run fpu64-ps-sb1.s if appropriate.
2004-04-102004-04-10 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-0/+374
* fpu64-ps.s: New file. * basic.exp: Run fpu64-ps.s.
2004-04-10(and adjust paths in last entry, for moveChris Demetriou1-2/+2
2004-04-10move entry from:Chris Demetriou2-9/+9
2004-03-29 Richard Sandiford <rsandifo@redhat.com> from ChangeLog into sim/mips/Changelog
2004-03-29Fix date in last delta.Richard Sandiford1-1/+1
2004-03-29 * sim/mips/hilo-hazard-[123].s: New files.Richard Sandiford5-4/+107
* 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-01Add fr450 support.Richard Sandiford16-11/+257
2004-03-01sim/frv/Richard Sandiford2-58/+85
* 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-01cpu/Richard Sandiford11-1524/+5
* 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-02-122004-02-12 Michael Snyder <msnyder@redhat.com>Michael Snyder6-3/+201
* and.s, movi.s, sett.s: New files. * allinsn.exp: Add new tests. * testutils.inc (set_sr_bit): Fix macro labels.
2004-01-26[ sim/ChangeLog ]Chris Demetriou5-0/+204
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-23 * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if aBen Elliston2-0/+7
test passes.
2004-01-092004-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder16-1/+2462
* dmxy.s, fipr.s, fpchg.s, ldrc.s, loop.s, movli.s, movua.s, movxy.s, pabs.s, pclr.s, prnd.s, psub.s, pswap.s: New files. * allinsn.exp: Add new tests. * testutils.inc (set_sr_bit): Add argument. (set_greg): Add .align directives.
2003-10-102003-10-10 Dave Brolley <brolley@redhat.com>Dave Brolley5-10/+99
* 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-082003-10-06 Dave Brolley <brolley@redhat.com>Dave Brolley175-117/+15074
* 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-09-192003-09-19 Michael Snyder <msnyder@redhat.com>Michael Snyder2-64/+5
* sim/frv/nldqi.cgs: Remove. This insn was never implemented by Fujitsu.
2003-09-192003-09-19 Dave Brolley <brolley@redhat.com>Dave Brolley3-2/+8
* sim/frv/rstqf.cgs: Use nldq instead of nldqi. * sim/frv/rstq.cgs: Use nldq instead of nldqi.
2003-09-112003-09-11 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* sim/testsuite/sim/frv/movgs.cgs: Change lcr to spr[273], which according to the comments seems to be the intent.
2003-09-092003-09-09 Dave Brolley <brolley@redhat.com>Dave Brolley5-7/+13
* 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-03Spelling fix by the ChangeLog police.Ben Elliston1-2/+2
2003-09-032003-09-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* sim/frv/fr500/mclracc.cgs: Change mach to 'all', to be consistant with other tests in the directory.
2003-09-032003-09-03 Michael Snyder <msnyder@redhat.com>Michael Snyder3-4/+45
* 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-08-292003-08-20 Michael Snyder <msnyder@redhat.com>Dave Brolley1-0/+6
On behalf of Dave Brolley * sim/frv: New testsuite. * frv-elf: New testsuite.
2003-08-29New sim testsuite for Fujitsu FRV. Contributed by Red Hat.Dave Brolley794-0/+113410
2003-08-112003-08-11 Michael Snyder <msnyder@redhat.com>Michael Snyder4-0/+118
* macl.s: New file. * macw.s: New file. * allinsn.exp: Add new tests for mac.w and mac.l.
2003-07-292003-07-22 Michael Snyder <msnyder@redhat.com>Michael Snyder5-1/+787
* cmpw.s: Add test for less-than-zero immediate. * shll.s: Test for shll reg, reg. * shlr.s: Test for shlr reg, reg. * mova.s: Add dozens of new mova tests.
2003-07-262003-07-25 Michael Snyder <msnyder@redhat.com>Michael Snyder12-0/+1346
* pshai.s, pshar.s, pshli.s, pshlr.s: New files. * allinsn.exp: Add psha, pshl tests. * pdec.s, pinc.s, padd.s, paddc.s: New files. * allinsn.exp: Add pdec, pinc, padd, paddc tests. * pand.s, pdmsb.s: New files. * allinsn.exp: Add pand, pdmsb tests.
2003-07-262003-07-08 Michael Snyder <msnyder@redhat.com>Michael Snyder7-0/+856
* allinsn.exp, testutils.inc, add.s, fabs.s, fadd.s, fcmpeq.s, fcmpgt.s, fcnvds.s, fcnvsd.s, fdiv.s, fldi0.s, fldi1.s, flds.s, float.s, fmac.s, fmov.s, fmul.s, fneg.s, frchg.s, fschg.s, fsqrt.s, fsub.s, ftrc.s, shll16.s, shll2.s, shll8.s, shll.s, shlr16.s, shlr2.s, shlr8.s, shlr.s, swap.s: New files.
2003-07-232003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+37
* pmuls.s: New file.
2003-07-232003-07-09 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+4
* sim/sh: New directory. Tests for Renesas sh family.
2003-07-232003-07-08 Michael Snyder <msnyder@redhat.com>Michael Snyder26-0/+2293
* allinsn.exp, testutils.inc, add.s, fabs.s, fadd.s, fcmpeq.s, fcmpgt.s, fcnvds.s, fcnvsd.s, fdiv.s, fldi0.s, fldi1.s, flds.s, float.s, fmac.s, fmov.s, fmul.s, fneg.s, frchg.s, fschg.s, fsqrt.s, fsub.s, ftrc.s, shll16.s, shll2.s, shll8.s, shll.s, shlr16.s, shlr2.s, shlr8.s, shlr.s, swap.s: New files.
2003-06-192003-05-30 Alexandre Oliva <aoliva@redhat.com>Michael Snyder20-88/+3830
* allinsn.exp: Fix typos introduced on 2003-05-27. 2003-05-29 Michael Snyder <msnyder@redhat.com> * tas.s: Use er4 for h8h and h8s, er3 for h8sx. 2003-05-28 Michael Snyder <msnyder@redhat.com> * subs.s: New file. * subx.s: New file. * allinsn.exp: Add new subs and subx tests. * testutils.inc: Simplify (and fix) set_carry_flag. (clear_carry_flag, set_zero_flag, clear_zero_flag...): New macros. * addx.s: Use simplified set_carry_flag. 2003-05-27 Michael Snyder <msnyder@redhat.com> * tas.s: New file. * band.s: New file. * biand.s: New file. * allinsn.exp: Add tas, band, biand tests. * brabc.s: Add abs8 test. * bset.s: Add bset/ne, bclr/ne tests. 2003-05-23 Michael Snyder <msnyder@redhat.com> * and.b.s: Add andc exr. * or.b.s: Add orc.exr. * xor.b.s: Add xor exr. * jmp.s: Fix 8-bit indirect test. Add 7-bit vector test. 2003-05-22 Michael Snyder <msnyder@redhat.com> * stack.s: Add rte/l and rts/l tests. * allinsn.exp: Add stack tests. 2003-05-21 Michael Snyder <msnyder@redhat.com> * stack.s: New file: test stack operations. * stack.s: Add bsr, jsr tests. * stack.s: Add trapa, rte tests. * div.s: Corrections for size of dividend. 2003-05-20 Michael Snyder <msnyder@redhat.com> * mul.s: Corrections for unsigned multiply. * div.s: New file, test div instructions. * allinsn.exp: Add div test. 2003-05-19 Michael Snyder <msnyder@redhat.com> * mul.s: New file, test mul instructions. * allinsn.exp: Add mul test.
2003-05-142003-04-13 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+4
* sim/h8300: New directory. Tests for Renesas h8/300 family.
2003-05-14New ChangeLogMichael Snyder1-191/+9
2003-05-142003-05-14 Michael Snyder <msnyder@redhat.com>Michael Snyder35-121/+14758
* addb.s, addw.s, addl.s, addw.s, addx.s, andb.s, andw.s, andl.s, bfld.s, brabc.s, bra.s, bset.s, cmpb.s, cmpw.s, cmpl.s, daa.s, das.s, dec.s, extw.s, extl.s, inc.s, jmp.s, ldc.s, ldm.s, mac.s, mova.s, movb.s, movw.s, movl.s, movmd.s, movsd.s, neg.s, nop.s, not.s, orb.s, orw.s, orl.s, rotl.s, rotr.s, rotxl.s, rotxr.s, shal.s, shar.s, shll.s, shlr.s, stc.s, subb.s, subw.s, subl.s, xorb.s, xorw.s, xorl.s: New files. * allinsn.exp: New file.
2003-05-14Remove for renaming with 8.3 dos-compatible names.Michael Snyder2-1726/+0
2003-05-14Remove, rename using dos-compatible 8.3 names.Michael Snyder21-11266/+0
2003-04-132003-04-13 Michael Snyder <msnyder@redhat.com>Michael Snyder53-0/+31452
* configure.in: Add testsuite to extra_subdirs. * configure: Regenerate. 2003-04-13 Michael Snyder <msnyder@redhat.com> * sim/h8300: New directory. Tests for Hitachi h8/300 family.
2003-04-01Add tests for ARM simulator.Nick Clifton175-0/+8600
2002-06-16Import current --enable-gdb-build-warnings.Andrew Cagney1-0/+4
2002-02-01* Contribute Hitachi SH5 simulator.Ben Elliston390-0/+13495
2001-07-312001-07-31 Ben Elliston <bje@redhat.com>Ben Elliston2-6/+12
* 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.