testutils.inc: New file: Test macros for cr16 target.
[platform/upstream/binutils.git] / sim / testsuite / ChangeLog
1 2008-02-05  DJ Delorie  <dj@redhat.com>
2
3         * sim/v850/: New directory.
4         * sim/v850/allinsns.exp: New.
5         * sim/v850/bsh.cgs: New.
6         * sim/v850/div.cgs: New.
7         * sim/v850/divh.cgs: New.
8         * sim/v850/divh_3.cgs: New.
9         * sim/v850/divhu.cgs: New.
10         * sim/v850/divu.cgs: New.
11         * sim/v850/sar.cgs: New.
12         * sim/v850/satadd.cgs: New.
13         * sim/v850/satsub.cgs: New.
14         * sim/v850/satsubi.cgs: New.
15         * sim/v850/satsubr.cgs: New.
16         * sim/v850/shl.cgs: New.
17         * sim/v850/shr.cgs: New.
18         * sim/v850/testutils.cgs: New.
19         * sim/v850/testutils.inc: New.
20
21 2007-11-08  Hans-Peter Nilsson  <hp@axis.com>
22
23         * sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Tweak
24         stack-pointer match pattern for 4K host environment.
25
26 2007-10-22  Edgar E. Iglesias <edgar@axis.com>
27             Hans-Peter Nilsson  <hp@axis.com>
28
29         * sim/cris/asm/testutils.inc (test_move_cc): Add missing call to
30         test_cc.
31         * sim/cris/asm/asr.ms: Correct expected condition code flags.
32         * sim/cris/asm/boundr.ms: Ditto.
33         * sim/cris/asm/dstep.ms: Ditto.
34         * sim/cris/asm/lsr.ms: Ditto.
35         * sim/cris/asm/movecr.ms: Ditto.
36         * sim/cris/asm/mover.ms: Ditto.
37         * sim/cris/asm/neg.ms: Ditto.  Use test_cc, not test_move_cc.
38         * sim/cris/asm/op3.ms: Check the condition code flags after the insn
39         under test.
40         * sim/cris/asm/movecrt10.ms: Update expected number of simulated
41         cycles.
42         * sim/cris/asm/movecrt32.ms: Ditto.
43         * sim/cris/asm/jsr.ms: Don't use local label 8.
44         * sim/cris/asm/nonvcv32.ms: New test.
45
46 2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>
47
48         * sim/cris/c/freopen2.c: Added testcase.
49
50 2006-10-02  Hans-Peter Nilsson  <hp@axis.com>
51             Edgar E. Iglesias  <edgar@axis.com>
52
53         * sim/cris/c/clone5.c, sim/cris/c/mprotect1.c,
54         sim/cris/c/rtsigprocmask1.c, sim/cris/c/rtsigsuspend1.c,
55         sim/cris/c/sig7.c, sim/cris/c/sigreturn1.c,
56         sim/cris/c/sigreturn2.c, sim/cris/c/syscall1.c,
57         sim/cris/c/syscall2.c, sim/cris/c/sysctl2.c, sim/cris/c/fcntl1.c,
58         sim/cris/c/readlink2.c: Add code to print ENOSYS if syscall being
59         tested returns ENOSYS.  Add early exit where needed.  Change any
60         existing code to print "xyzzy", not "pass".
61         * sim/cris/asm/option3.ms, sim/cris/asm/option4.ms,
62         sim/cris/c/clone6.c, sim/cris/c/fcntl2.c,
63         sim/cris/c/mprotect2.c, sim/cris/c/readlink11.c,
64         sim/cris/c/rtsigprocmask2.c, sim/cris/c/rtsigsuspend2.c,
65         sim/cris/c/sig13.c, sim/cris/c/sigreturn3.c,
66         sim/cris/c/sigreturn4.c, sim/cris/c/syscall3.c,
67         sim/cris/c/syscall4.c, sim/cris/c/syscall5.c,
68         sim/cris/c/syscall6.c, sim/cris/c/syscall7.c,
69         sim/cris/c/syscall8.c, sim/cris/c/sysctl3.c: New tests.
70
71 2006-09-30  Hans-Peter Nilsson  <hp@axis.com>
72
73         * sim/cris/c/pipe2.c: Adjust expected output.
74         (process): Don't write as much to the pipe as to trig the
75         inordinate-amount test in the sim pipe machinery.  Correct test of
76         write return-value; check only that pipemax bytes were
77         successfully written.  For error-case, emit strerror as well.
78         (main): Add a second read.
79         
80 2006-04-08  Hans-Peter Nilsson  <hp@axis.com>
81
82         * sim/cris/hw/rv-n-cris/irq6.ms: New test.
83
84 2006-04-03  Hans-Peter Nilsson  <hp@axis.com>
85
86         * sim/cris/hw: New directory for subdirectories with tests.
87         * sim/cris/hw/rv-n-cris: New directory with tests.
88
89 2006-04-02  Hans-Peter Nilsson  <hp@axis.com>
90
91         * sim/cris/asm/testutils.inc (test_h_mem): Use register prefix.
92         (testr_h_dr, test_h_dr, ldmem_h_gr, mvr_h_mem): Ditto.  Correct
93         syntax.
94
95         * sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Widen regexp for
96         stack pointer values.
97
98 2006-02-23  Hans-Peter Nilsson  <hp@axis.com>
99
100         * sim/cris/c/time2.c: New test.
101
102 2006-01-10  Hans-Peter Nilsson  <hp@axis.com>
103
104         * sim/cris/asm/x1-v10.ms, sim/cris/asm/x3-v10.ms,
105         sim/cris/asm/x7-v10.ms: Update expected cycle output.
106
107 2005-12-06  Hans-Peter Nilsson  <hp@axis.com>
108
109         * sim/cris/asm/movmp8.ms, sim/cris/asm/pcplus.ms: New tests.
110         * sim/cris/asm/movmp.ms: Do not write to P0, P4 or P8.
111         * sim/cris/asm/raw13.ms: Write to MOF instead of WZ (P4).
112
113 2005-11-21  Hans-Peter Nilsson  <hp@axis.com>
114
115         * sim/cris: New directory with C and assembly tests for the CRIS
116         simulator.
117
118 2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
119
120         * configure: Regenerated to track ../common/aclocal.m4 changes.
121
122 2005-01-07  Andrew Cagney  <cagney@gnu.org>
123
124         * configure.ac: Rename configure.in, require autoconf 2.59.
125         * configure: Re-generate.
126
127         * configure.in: Pass literal subdirectories to AC_CONFIG_SUBDIRS.
128         * configure: Re-generate.
129         
130         * fr30-elf, d30v-elf: Delete directory.
131
132 2004-11-16  Hans-Peter Nilsson  <hp@axis.com>
133
134         * lib/sim-defs.exp (run_sim_test): Make multiple "output"
135         specifications concatenate, not override.
136         Support "xfail" and "kfail".
137
138 2004-10-26  Nick Clifton  <nickc@redhat.com>
139
140         * lib/sim-defs.exp (sim_run): Add support for the "rawsid"
141         protocol.
142
143 2004-09-13  DJ Delorie  <dj@redhat.com>
144
145         * lib/sim-defs.exp (run_sim_test): Add global_as_options,
146         global_ld_options, and global_sim_options to all test cases, if
147         defined.
148
149 2004-05-12  Ben Elliston  <bje@au.ibm.com>
150
151         * lib/sim-defs.exp: Remove stray semicolons.
152
153 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
154
155         * sim/frv/allinsn.exp (all_machs): Add fr405 and fr450.
156         * sim/fr400/allinsn.exp (all_machs): Likewise.
157         * sim/fr400/addss.cgs (mach): Change to "fr405 fr450".
158         * sim/fr400/scutss.cgs (mach): Likewise.
159         * sim/fr400/slass.cgs (mach): Likewise.
160         * sim/fr400/smass.cgs (mach): Likewise.
161         * sim/fr400/smsss.cgs (mach): Likewise.
162         * sim/fr400/smu.cgs (mach): Likewise.
163         * sim/fr400/subss.cgs (mach): Likewise.
164         * sim/interrupts/fp_exception.cgs: Replace fmadds with .word.
165         * sim/interrupts/fp_exception-fr550.cgs: Likewise.
166         * sim/frv/mqlclrhs.cgs: New test.
167         * sim/frv/mqlmths.cgs: New test.
168         * sim/frv/mqsllhi.cgs: New test.
169         * sim/frv/mqsrahi.cgs: New test.
170
171 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
172
173         * sim/frv/fr400/scutss.cgs: Fix tests to account for rounding.
174         Add some new ones.
175
176 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
177
178         * sim/frv/{rstb,rsth,rst,rstd,rstq}.cgs: Delete.
179         * sim/frv/{rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.
180
181 2004-01-26  Chris Demetriou  <cgd@broadcom.com>
182
183         * sim/mips: New directory.  Tests for the MIPS simulator.
184
185 2004-01-23  Ben Elliston  <bje@wasabisystems.com>
186
187         * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
188         test passes.
189
190 2003-10-10  Dave Brolley  <brolley@redhat.com>
191
192         * sim/frv/testutils.inc (or_gr_immed): New macro.
193         * sim/frv/fp_exception-fr550.cgs: Write insns using
194         unaligned registers into the program in order to
195         cause the required exceptions.
196         * sim/frv/fp_exception.cgs: Ditto.
197         * sim/frv/regalign.cgs: Ditto.
198
199 2003-10-06  Dave Brolley  <brolley@redhat.com>
200
201         * sim/frv/fr550: New subdirectory.
202         * sim/frv/fr400/*.cgs: Add fr550 as appropriate.
203         * sim/frv/fr500/*.cgs: Add fr550 as appropriate.
204         * sim/frv/interrupts/*.cgs: Add fr550 as appropriate.
205         * sim/frv/interrupts/*-fr550.cgs: New test cases for fr550.
206
207 2003-09-19  Michael Snyder  <msnyder@redhat.com>
208
209         * sim/frv/nldqi.cgs: Remove.  This insn was never implemented
210         by Fujitsu.
211
212 2003-09-19  Dave Brolley  <brolley@redhat.com>
213
214         * sim/frv/rstqf.cgs: Use nldq instead of nldqi.
215         * sim/frv/rstq.cgs: Use nldq instead of nldqi.
216
217 2003-09-11  Michael Snyder  <msnyder@redhat.com>
218
219         * sim/testsuite/sim/frv/movgs.cgs: Change lcr to spr[273],
220         which according to the comments seems to be the intent.
221
222 2003-09-09  Dave Brolley  <brolley@redhat.com>
223
224         * sim/frv/maddaccs.cgs: move to fr400 subdirectory.
225         * sim/frv/msubaccs.cgs: move to fr400 subdirectory.
226         * sim/frv/masaccs.cgs: move to fr400 subdirectory.
227
228 2003-09-03  Michael Snyder  <msnyder@redhat.com>
229
230         * sim/frv/fr500/mclracc.cgs: Change mach to 'all', to be
231         consistent with other tests in the directory.
232
233 2003-09-03  Michael Snyder  <msnyder@redhat.com>
234
235         * sim/frv/interrupts/Ipipe-fr400.cgs: New file.
236         * sim/frv/interrupts/Ipipe-fr500.cgs: New file.
237         * sim/frv/interrupts/Ipipe.cgs: Remove (replaced by above).
238
239 2003-08-20  Michael Snyder  <msnyder@redhat.com>
240             On behalf of Dave Brolley
241   
242         * sim/frv: New testsuite.
243         * frv-elf: New testsuite.
244   
245 2003-07-09  Michael Snyder  <msnyder@redhat.com>
246
247         * sim/sh: New directory.  Tests for Renesas sh family.
248
249 2003-04-13  Michael Snyder  <msnyder@redhat.com>
250
251         * sim/h8300: New directory.  Tests for Renesas h8/300 family.
252
253 2003-04-01  Nick Clifton  <nickc@redhat.com>
254
255         * sim/arm: New directory: Tests for ARM simulator.
256         * sim/arm/allinsn.exp: New file: Test script.
257         * sim/arm/testutils.inc: New file: Test macros.
258         * sim/arm/adc.cgs, sim/arm/add.cgs, sim/arm/and.cgs,
259         sim/arm/b.cgs, sim/arm/bic.cgs, sim/arm/bl.cgs, sim/arm/bx.cgs,
260         sim/arm/cmn.cgs, sim/arm/cmp.cgs, sim/arm/eor.cgs,
261         sim/arm/hello.ms, sim/arm/ldm.cgs, sim/arm/ldr.cgs,
262         sim/arm/ldrb.cgs, sim/arm/ldrh.cgs, sim/arm/ldrsb.cgs,
263         sim/arm/ldrsh.cgs, sim/arm/misaligned1.ms, sim/arm/misaligned2.ms,
264         sim/arm/misaligned3.ms, sim/arm/misc.exp, sim/arm/mla.cgs,
265         sim/arm/mov.cgs, sim/arm/mrs.cgs, sim/arm/msr.cgs,
266         sim/arm/mul.cgs, sim/arm/mvn.cgs, sim/arm/orr.cgs,
267         sim/arm/rsb.cgs, sim/arm/rsc.cgs, sim/arm/sbc.cgs,
268         sim/arm/smlal.cgs, sim/arm/smull.cgs, sim/arm/stm.cgs,
269         sim/arm/str.cgs, sim/arm/strb.cgs, sim/arm/strh.cgs,
270         sim/arm/sub.cgs, sim/arm/swi.cgs, sim/arm/swp.cgs,
271         sim/arm/swpb.cgs, sim/arm/teq.cgs,  sim/arm/tst.cgs,
272         sim/arm/umlal.cgs, sim/arm/umull.cgs: New files: ARM tests.
273         * sim/arm/iwmmxt: New Directory: Tests for iWMMXt.
274         * sim/arm/iwmmxt/iwmmxt.exp: New file: Test script.
275         * sim/arm/iwmmxt/testutils.inc: New file: Test macros.
276         * sim/arm/iwmmxt/tbcst.cgs, sim/arm/iwmmxt/textrm.cgs,
277         sim/arm/iwmmxt/tinsr.cgs, sim/arm/iwmmxt/tmia.cgs,
278         sim/arm/iwmmxt/tmiaph.cgs, sim/arm/iwmmxt/tmiaxy.cgs,
279         sim/arm/iwmmxt/tmovmsk.cgss, sim/arm/iwmmxt/wacc.cgs,
280         sim/arm/iwmmxt/wadd.cgs, sim/arm/iwmmxt/waligni.cgs,
281         sim/arm/iwmmxt/walignr.cgs, sim/arm/iwmmxt/wand.cgs,
282         sim/arm/iwmmxt/wandn.cgs, sim/arm/iwmmxt/wavg2.cgs,
283         sim/arm/iwmmxt/wcmpeq.cgs, sim/arm/iwmmxt/wcmpgt.cgs,
284         sim/arm/iwmmxt/wmac.cgs, sim/arm/iwmmxt/wmadd.cgs,
285         sim/arm/iwmmxt/wmax.cgs, sim/arm/iwmmxt/wmin.cgs,
286         sim/arm/iwmmxt/wmov.cgs, sim/arm/iwmmxt/wmul.cgs,
287         sim/arm/iwmmxt/wor.cgs, sim/arm/iwmmxt/wpack.cgs,
288         sim/arm/iwmmxt/wror.cgs, sim/arm/iwmmxt/wsad.cgs,
289         sim/arm/iwmmxt/wshufh.cgs, sim/arm/iwmmxt/wsll.cgs,
290         sim/arm/iwmmxt/wsra.cgs, sim/arm/iwmmxt/wsrl.cgs,
291         sim/arm/iwmmxt/wsub.cgs, sim/arm/iwmmxt/wunpckeh.cgs,
292         sim/arm/iwmmxt/wunpckel.cgs, sim/arm/iwmmxt/wunpckih.cgs,
293         sim/arm/iwmmxt/wunpckil.cgs, sim/arm/iwmmxt/wxor.cgs,
294         sim/arm/iwmmxt/wzero.cgs: New files: iWMMXt tests.
295         * sim/arm/thumb: New Directory: Thumb tests.
296         * sim/arm/thumb/allthumb.exp: New file: Test script.
297         * sim/arm/thumb/testutils.inc: New file: Test macros.
298         * sim/arm/thumb/adc.cgs, sim/arm/thumb/add-hd-hs.cgs,
299         sim/arm/thumb/add-hd-rs.cgs, sim/arm/thumb/add-rd-hs.cgs,
300         sim/arm/thumb/add-sp.cgs, sim/arm/thumb/add.cgs,
301         sim/arm/thumb/addi.cgs, sim/arm/thumb/addi8.cgs,
302         sim/arm/thumb/and.cgs, sim/arm/thumb/asr.cgs, sim/arm/thumb/b.cgs,
303         sim/arm/thumb/bcc.cgs, sim/arm/thumb/bcs.cgs,
304         sim/arm/thumb/beq.cgs, sim/arm/thumb/bge.cgs,
305         sim/arm/thumb/bgt.cgs, sim/arm/thumb/bhi.cgs,
306         sim/arm/thumb/bic.cgs, sim/arm/thumb/bl-hi.cgs,
307         sim/arm/thumb/bl-lo.cgs, sim/arm/thumb/ble.cgs,
308         sim/arm/thumb/bls.cgs, sim/arm/thumb/blt.cgs,
309         sim/arm/thumb/bmi.cgs, sim/arm/thumb/bne.cgs,
310         sim/arm/thumb/bpl.cgs, sim/arm/thumb/bvc.cgs,
311         sim/arm/thumb/bvs.cgs, sim/arm/thumb/bx-hs.cgs,
312         sim/arm/thumb/bx-rs.cgs, sim/arm/thumb/cmn.cgs,
313         sim/arm/thumb/cmp-hd-hs.cgs, sim/arm/thumb/cmp-hd-rs.cgs,
314         sim/arm/thumb/cmp-rd-hs.cgs, sim/arm/thumb/cmp.cgs,
315         sim/arm/thumb/eor.cgs, sim/arm/thumb/lda-pc.cgs,
316         sim/arm/thumb/lda-sp.cgs, sim/arm/thumb/ldmia.cgs,
317         sim/arm/thumb/ldr-imm.cgs, sim/arm/thumb/ldr-pc.cgs,
318         sim/arm/thumb/ldr-sprel.cgs, sim/arm/thumb/ldr.cgs,
319         sim/arm/thumb/ldrb-imm.cgs, sim/arm/thumb/ldrb.cgs,
320         sim/arm/thumb/ldrh-imm.cgs, sim/arm/thumb/ldrh.cgs,
321         sim/arm/thumb/ldsb.cgs, sim/arm/thumb/ldsh.cgs,
322         sim/arm/thumb/lsl.cgs, sim/arm/thumb/lsr.cgs,
323         sim/arm/thumb/mov-hd-hs.cgs, sim/arm/thumb/mov-hd-rs.cgs,
324         sim/arm/thumb/mov-rd-hs.cgs, sim/arm/thumb/mov.cgs,
325         sim/arm/thumb/mul.cgs, sim/arm/thumb/mvn.cgs,
326         sim/arm/thumb/neg.cgs, sim/arm/thumb/orr.cgs,
327         sim/arm/thumb/pop-pc.cgs, sim/arm/thumb/pop.cgs,
328         sim/arm/thumb/push-lr.cgs, sim/arm/thumb/push.cgs,
329         sim/arm/thumb/ror.cgs, sim/arm/thumb/sbc.cgs,
330         sim/arm/thumb/stmia.cgs, sim/arm/thumb/str-imm.cgs,
331         sim/arm/thumb/str-sprel.cgs, sim/arm/thumb/str.cgs,
332         sim/arm/thumb/strb-imm.cgs, sim/arm/thumb/strb.cgs,
333         sim/arm/thumb/strh-imm.cgs, sim/arm/thumb/strh.cgs,
334         sim/arm/thumb/sub-sp.cgs, sim/arm/thumb/sub.cgs,
335         sim/arm/thumb/subi.cgs, sim/arm/thumb/subi8.cgs,
336         sim/arm/thumb/swi.cgs, sim/arm/thumb/tst.cgs: New files: Thumb
337         tests.
338         * sim/arm/xscale: New directory.
339         * sim/arm/xscale/xscale.exp: New file: Test script.
340         * sim/arm/xscale/testutils.inc: New file: Test macros.
341         * sim/arm/xscale/blx.cgs, sim/arm/xscale/mia.cgs,
342         sim/arm/xscale/miaph.cgs, sim/arm/xscale/miaxy.cgs,
343         sim/arm/xscale/mra.cgs: New files: XScale tests.
344
345 2002-06-16  Andrew Cagney  <ac131313@redhat.com>
346
347         * configure: Regenerated to track ../common/aclocal.m4 changes.
348
349 2001-07-31  Ben Elliston  <bje@redhat.com>
350
351         * lib/sim-defs.exp (run_sim_test): Include a description such as
352         "assembling" or "linking" that identifies the phase a test fails
353         in, for easier analysis of failures.
354
355 2000-11-01  Dave Brolley  <brolley@cygnus.com>
356
357         * lib/sim-defs.exp (run_sm_test): Correct comment. "output" and
358         "xerror" options do not use a list of machines. Clear options from
359         previous test case. Use "$cpu_option"  to identify the machine to the
360         assembler, if specified.
361
362 Tue May 23 21:39:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
363
364         * configure: Regenerated to track ../common/aclocal.m4 changes.
365
366 1999-09-15  Doug Evans  <devans@casey.cygnus.com>
367
368         * sim/arm/b.cgs: New testcase.
369         * sim/arm/bic.cgs: New testcase.
370         * sim/arm/bl.cgs: New testcase.
371
372 Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
373
374         * configure: Regenerated to track ../common/aclocal.m4 changes.
375
376 1999-08-30  Doug Evans  <devans@casey.cygnus.com>
377
378         * lib/sim-defs.exp (run_sim_test): Rename all_machs arg to
379         requested_machs, now is list of machs to run tests for.
380         Delete locals AS,ASFLAGS,LD,LDFLAGS.  Use target_assemble
381         and target_link instead.
382
383 1999-04-21  Doug Evans  <devans@casey.cygnus.com>
384
385         * sim/m32r/nop.cgs: Add missing nop insn.
386
387 Mon Mar 22 13:28:56 1999  Dave Brolley  <brolley@cygnus.com>
388
389         * sim/fr30/stb.cgs: Correct for unaligned access.
390         * sim/fr30/sth.cgs: Correct for unaligned access.
391         * sim/fr30/ldub.cgs: Fix typo: lduh->ldub. Correct
392         for unaligned access.
393         * sim/fr30/and.cgs: Test unaligned access.
394
395 Fri Feb  5 12:41:11 1999  Doug Evans  <devans@canuck.cygnus.com>
396
397         * lib/sim-defs.exp (sim_run): Print simulator arguments log message.
398
399 1999-01-05  Doug Evans  <devans@casey.cygnus.com>
400
401         * lib/sim-defs.exp (run_sim_test): New arg all_machs.
402         * sim/fr30/allinsn.exp: Update.
403         * sim/fr30/misc.exp: Update.
404         * sim/m32r/allinsn.exp: Update.
405         * sim/m32r/misc.exp: Update.
406
407 Fri Dec 18 17:19:34 1998  Dave Brolley  <brolley@cygnus.com>
408
409         * sim/fr30/ldres.cgs: New testcase.
410         * sim/fr30/copld.cgs: New testcase.
411         * sim/fr30/copst.cgs: New testcase.
412         * sim/fr30/copsv.cgs: New testcase.
413         * sim/fr30/nop.cgs: New testcase.
414         * sim/fr30/andccr.cgs: New testcase.
415         * sim/fr30/orccr.cgs: New testcase.
416         * sim/fr30/addsp.cgs: New testcase.
417         * sim/fr30/stilm.cgs: New testcase.
418         * sim/fr30/extsb.cgs: New testcase.
419         * sim/fr30/extub.cgs: New testcase.
420         * sim/fr30/extsh.cgs: New testcase.
421         * sim/fr30/extuh.cgs: New testcase.
422         * sim/fr30/enter.cgs: New testcase.
423         * sim/fr30/leave.cgs: New testcase.
424         * sim/fr30/xchb.cgs: New testcase.
425         * sim/fr30/dmovb.cgs: New testcase.
426         * sim/fr30/dmov.cgs: New testcase.
427         * sim/fr30/dmovh.cgs: New testcase.
428
429 Thu Dec 17 17:18:43 1998  Dave Brolley  <brolley@cygnus.com>
430
431         * sim/fr30/testutils.inc (take_branch{_d},no_branch{_d}): New macros.
432         * sim/fr30/ret.cgs: Add tests fir ret:d.
433         * sim/fr30/inte.cgs: New testcase.
434         * sim/fr30/reti.cgs: New testcase.
435         * sim/fr30/bra.cgs: New testcase.
436         * sim/fr30/bno.cgs: New testcase.
437         * sim/fr30/beq.cgs: New testcase.
438         * sim/fr30/bne.cgs: New testcase.
439         * sim/fr30/bc.cgs: New testcase.
440         * sim/fr30/bnc.cgs: New testcase.
441         * sim/fr30/bn.cgs: New testcase.
442         * sim/fr30/bp.cgs: New testcase.
443         * sim/fr30/bv.cgs: New testcase.
444         * sim/fr30/bnv.cgs: New testcase.
445         * sim/fr30/blt.cgs: New testcase.
446         * sim/fr30/bge.cgs: New testcase.
447         * sim/fr30/ble.cgs: New testcase.
448         * sim/fr30/bgt.cgs: New testcase.
449         * sim/fr30/bls.cgs: New testcase.
450         * sim/fr30/bhi.cgs: New testcase.
451
452 Tue Dec 15 17:47:13 1998  Dave Brolley  <brolley@cygnus.com>
453
454         * sim/fr30/div.cgs (int): Add signed division scenario.
455         * sim/fr30/int.cgs (int): Complete testcase.
456         * sim/fr30/testutils.inc (_start): Initialize tbr.
457         (test_s_user,test_s_system,set_i,test_i): New macros.
458
459 1998-12-14  Doug Evans  <devans@casey.cygnus.com>
460
461         * lib/sim-defs.exp (run_sim_test): New option xerror, for expected
462         errors.  Translate \n sequences in expected output to newline char.
463         (slurp_options): Make parentheses optional.
464         (sim_run): Look for board_info sim,options.
465         * sim/fr30/hello.ms: Add trailing \n to expected output.
466         * sim/m32r/hello.ms: Ditto.
467         * sim/m32r/hw-trap.ms: Ditto.
468
469         * sim/m32r/trap.cgs: Properly align trap2_handler.
470
471         * sim/m32r/uread16.ms: New testcase.
472         * sim/m32r/uread32.ms: New testcase.
473         * sim/m32r/uwrite16.ms: New testcase.
474         * sim/m32r/uwrite32.ms: New testcase.
475
476 1998-12-14  Dave Brolley  <brolley@cygnus.com>
477
478         * sim/fr30/call.cgs: Test ret here as well.
479         * sim/fr30/ld.cgs: Remove bogus comment.
480         * sim/fr30/testutils.inc (save_rp,restore_rp): New macros.
481         * sim/fr30/div.ms: New testcase.
482         * sim/fr30/st.cgs: New testcase.
483         * sim/fr30/sth.cgs: New testcase.
484         * sim/fr30/stb.cgs: New testcase.
485         * sim/fr30/mov.cgs: New testcase.
486         * sim/fr30/jmp.cgs: New testcase.
487         * sim/fr30/ret.cgs: New testcase.
488         * sim/fr30/int.cgs: New testcase.
489
490 Thu Dec 10 18:46:25 1998  Dave Brolley  <brolley@cygnus.com>
491
492         * sim/fr30/div0s.cgs: New testcase.
493         * sim/fr30/div0u.cgs: New testcase.
494         * sim/fr30/div1.cgs: New testcase.
495         * sim/fr30/div2.cgs: New testcase.
496         * sim/fr30/div3.cgs: New testcase.
497         * sim/fr30/div4s.cgs: New testcase.
498         * sim/fr30/testutils.inc (mvi_h_dr,set_dbits,test_dbits): New Macros.
499
500 Tue Dec  8 13:16:53 1998  Dave Brolley  <brolley@cygnus.com>
501
502         * sim/fr30/testutils.inc (set_s_user): Correct Mask.
503         (set_s_system): Correct Mask.
504         * sim/fr30/ld.cgs (ld): Move previously failing test back
505         into place.
506         * sim/fr30/ldm0.cgs: New testcase.
507         * sim/fr30/ldm1.cgs: New testcase.
508         * sim/fr30/stm0.cgs: New testcase.
509         * sim/fr30/stm1.cgs: New testcase.
510
511 Thu Dec  3 14:20:03 1998  Dave Brolley  <brolley@cygnus.com>
512
513         * sim/fr30/ld.cgs: Implement more loads.
514         * sim/fr30/call.cgs: New testcase.
515         * sim/fr30/testutils.inc (testr_h_dr): New macro.
516         (set_s_user,set_s_system): New macros.
517
518         * sim/fr30: New Directory.
519
520 Wed Nov 18 10:50:19 1998  Andrew Cagney  <cagney@b1.cygnus.com>
521
522         * common/bits-gen.c (main): Add BYTE_ORDER so that it matches
523         recent sim/common/sim-basics.h changes.
524         * common/Makefile.in: Update.
525         
526 Fri Oct 30 00:37:31 1998  Felix Lee  <flee@cygnus.com>
527
528         * lib/sim-defs.exp (sim_run): download target program to remote
529         host, if necessary.  for unix-driven win32 testing.
530
531 Tue Sep 15 14:56:22 1998  Doug Evans  <devans@canuck.cygnus.com>
532
533         * sim/m32r/testutils.inc (test_h_gr): Use mvaddr_h_gr.
534         * sim/m32r/rte.cgs: Test bbpc,bbpsw.
535         * sim/m32r/trap.cgs: Test bbpc,bbpsw.
536
537 Fri Jul 31 17:49:13 1998  Felix Lee  <flee@cygnus.com>
538
539         * lib/sim-defs.exp (sim_run): remote_spawn, use writeto instead of
540         writeonly.
541
542 Fri Jul 24 09:40:34 1998  Doug Evans  <devans@canuck.cygnus.com>
543
544         * Makefile.in (clean,mostlyclean): Change leading spaces to a tab.
545
546 Wed Jul  1 15:57:54 1998  Doug Evans  <devans@seba.cygnus.com>
547
548         * sim/m32r/hw-trap.ms: New testcase.
549
550 Tue Jun 16 15:44:01 1998 Jillian Ye <jillian@cygnus.com>
551
552         * lib/sim-defs.exp: Print out timeout setting info when "-v" is used.
553
554 Thu Jun 11 15:24:53 1998  Doug Evans  <devans@canuck.cygnus.com>
555
556         * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
557         which is now a list of options controlling the behaviour of sim_run.
558
559 Wed Jun 10 10:53:20 1998  Doug Evans  <devans@seba.cygnus.com>
560
561         * sim/m32r/addx.cgs: Add another test.
562         * sim/m32r/jmp.cgs: Add another test.
563
564 Mon Jun  8 16:08:27 1998  Doug Evans  <devans@canuck.cygnus.com>
565
566         * sim/m32r/trap.cgs: Test trap 2.
567
568 Mon Jun  1 18:54:22 1998  Frank Ch. Eigler  <fche@cygnus.com>
569
570         * lib/sim-defs.exp (sim_run): Add possible environment variable
571         list to simulator run.
572
573 Thu May 28 14:59:46 1998 Jillian Ye <jillian@cygnus.com>
574
575         * Makefile.in: Take RUNTEST out of FLAG_TO_PASS
576                        so that make check can be invoked recursively.
577
578 Thu May 14 11:48:35 1998  Doug Evans  <devans@canuck.cygnus.com>
579
580         * config/default.exp (CC,SIM): Delete.
581
582         * lib/sim-defs.exp (sim_run): Fix handling of output redirection.
583         New arg prog_opts.  All callers updated.
584
585 Fri May  8 18:10:28 1998  Jillian Ye <jillian@cygnus.com>
586
587         * Makefile.in: Made "check" the target of two
588           dependencies (test1, test2) so that test2 get a chance to 
589           run even when test1 failed if "make -k check" is used.
590
591 Fri May  8 14:41:28 1998  Doug Evans  <devans@canuck.cygnus.com>
592
593         * lib/sim-defs.exp (sim_version): Simplify.
594         (sim_run): Implement.
595         (run_sim_test): Use sim_run.
596         (sim_compile): New proc.
597
598 Mon May  4 17:59:11 1998  Frank Ch. Eigler  <fche@cygnus.com>
599
600         * config/default.exp: Added C compiler settings.
601
602 Wed Apr 22 12:26:28 1998  Doug Evans  <devans@canuck.cygnus.com>
603
604         * Makefile.in (TARGET_FLAGS_TO_PASS): Delete LIBS, LDFLAGS.
605
606 Tue Apr 21 10:49:03 1998  Doug Evans  <devans@canuck.cygnus.com>
607
608         * lib/sim-defs.exp (run_sim_test): Don't exit early if one mach fails,
609         try all machs.
610
611         * sim/m32r/addx.cgs: Test (-1)+(-1)+1.
612
613 Fri Apr 17 16:00:52 1998  Doug Evans  <devans@canuck.cygnus.com>
614
615         * sim/m32r/mv[ft]achi.cgs: Fix expected result
616         (sign extension of top 8 bits).
617
618 Wed Feb 25 11:01:17 1998  Doug Evans  <devans@canuck.cygnus.com>
619
620         * Makefile.in (RUNTEST): Fix path to runtest.
621
622 Fri Feb 20 11:00:02 1998  Nick Clifton  <nickc@cygnus.com>
623
624         * sim/m32r/unlock.cgs: Fixed test.
625         * sim/m32r/mvfc.cgs: Fixed test.
626         * sim/m32r/remu.cgs: Fixed test.
627         * sim/m32r/bnc24.cgs: Test long BNC instruction.
628         * sim/m32r/bnc8.cgs: Test short BNC instruction.
629         * sim/m32r/ld-plus.cgs: Test LD instruction.
630         * sim/m32r/macwhi.cgs: Test MACWHI instruction.
631         * sim/m32r/macwlo.cgs: Test MACWLO instruction.
632         * sim/m32r/mulwhi.cgs: Test MULWHI instruction.
633         * sim/m32r/mulwlo.cgs: Test MULWLO instruction.
634         * sim/m32r/mvfachi.cgs: Test MVFACHI instruction.
635         * sim/m32r/mvfaclo.cgs: Test MVFACLO instruction.
636         * sim/m32r/mvtaclo.cgs: Test MVTACLO instruction.
637         * sim/m32r/addv.cgs: Test ADDV instruction.
638         * sim/m32r/addv3.cgs: Test ADDV3 instruction.
639         * sim/m32r/addx.cgs: Test ADDX instruction.
640         * sim/m32r/lock.cgs: Test LOCK instruction.
641         * sim/m32r/neg.cgs: Test NEG instruction.
642         * sim/m32r/not.cgs: Test NOT instruction.
643         * sim/m32r/unlock.cgs: Test UNLOCK instruction.
644
645 Thu Feb 19 11:15:45 1998  Nick Clifton  <nickc@cygnus.com>
646
647         * sim/m32r/testutils.inc (mvaddr_h_gr): new macro to load an
648         address into a general register.
649
650         * sim/m32r/or3.cgs: Test OR3 instruction.
651         * sim/m32r/rach.cgs: Test RACH instruction.
652         * sim/m32r/rem.cgs: Test REM instruction.
653         * sim/m32r/sub.cgs: Test SUB instruction.
654         * sim/m32r/mv.cgs: Test MV instruction.
655         * sim/m32r/mul.cgs: Test MUL instruction.
656         * sim/m32r/bl24.cgs: Test long BL instruction.
657         * sim/m32r/bl8.cgs: Test short BL instruction.
658         * sim/m32r/blez.cgs: Test BLEZ instruction.
659         * sim/m32r/bltz.cgs: Test BLTZ instruction.
660         * sim/m32r/bne.cgs: Test BNE instruction.
661         * sim/m32r/bnez.cgs: Test BNEZ instruction.
662         * sim/m32r/bra24.cgs: Test long BRA instruction.
663         * sim/m32r/bra8.cgs: Test short BRA instruction.
664         * sim/m32r/jl.cgs: Test JL instruction.
665         * sim/m32r/or.cgs: Test OR instruction.
666         * sim/m32r/jmp.cgs: Test JMP instruction.
667         * sim/m32r/and.cgs: Test AND instruction.
668         * sim/m32r/and3.cgs: Test AND3 instruction.
669         * sim/m32r/beq.cgs: Test BEQ instruction.
670         * sim/m32r/beqz.cgs: Test BEQZ instruction.
671         * sim/m32r/bgez.cgs: Test BGEZ instruction.
672         * sim/m32r/bgtz.cgs: Test BGTZ instruction.
673         * sim/m32r/cmp.cgs: Test CMP instruction.
674         * sim/m32r/cmpi.cgs: Test CMPI instruction.
675         * sim/m32r/cmpu.cgs: Test CMPU instruction.
676         * sim/m32r/cmpui.cgs: Test CMPUI instruction.
677         * sim/m32r/div.cgs: Test DIV instruction.
678         * sim/m32r/divu.cgs: Test DIVU instruction.
679         * sim/m32r/cmpeq.cgs: Test CMPEQ instruction.
680         * sim/m32r/sll.cgs: Test SLL instruction.
681         * sim/m32r/sll3.cgs: Test SLL3 instruction.
682         * sim/m32r/slli.cgs: Test SLLI instruction.
683         * sim/m32r/sra.cgs: Test SRA instruction.
684         * sim/m32r/sra3.cgs: Test SRA3 instruction.
685         * sim/m32r/srai.cgs: Test SRAI instruction.
686         * sim/m32r/srl.cgs: Test SRL instruction.
687         * sim/m32r/srl3.cgs: Test SRL3 instruction.
688         * sim/m32r/srli.cgs: Test SRLI instruction.
689         * sim/m32r/xor3.cgs: Test XOR3 instruction.
690         * sim/m32r/xor.cgs: Test XOR instruction.
691
692 Tue Feb 17 12:46:05 1998  Doug Evans  <devans@seba.cygnus.com>
693
694         * config/default.exp: New file.
695         * lib/sim-defs.exp: New file.
696         * sim/m32r/*: m32r dejagnu simulator testsuite.
697
698         * Makefile.in (build_alias): Define.
699         (arch): Define.
700         (RUNTEST_FOR_TARGET): Delete.
701         (RUNTEST): Fix.
702         (check): Depend on site.exp.  Run dejagnu.
703         (site.exp): New target.
704         * configure.in (arch): Define from target_cpu.
705         * configure: Regenerate.
706
707 Wed Sep 17 10:21:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
708
709         * common/bits-gen.c (gen_bit): Pass in the full name of the macro.
710         (gen_mask): Ditto.
711
712         * common/bits-tst.c (main): Add tests for LSSEXT, MSSEXT.
713         (calc): Add support for 8 bit version of macros.
714         (main): Add tests for 8 bit versions of macros.
715         (check_sext): Check SEXT of zero clears bits.
716
717         * common/bits-gen.c (main): Generate tests for 8 bit versions of
718         macros.
719
720 Thu Sep 11 13:04:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
721
722         * common/Make-common.in: New file, provide generic rules for
723         running checks.
724
725 Mon Sep  1 16:43:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
726
727         * configure.in (configdirs): Test for the target directory instead
728         of matching on a target.
729