* sky testsuite fixes
[external/binutils.git] / sim / testsuite / ChangeLog
1 start-sanitize-sky
2 Tue Jun 16 09:03:37 1998  Frank Ch. Eigler  <fche@cygnus.com>
3
4         * t-cop2.s: Reorder instruction blocks to prevent "Out of bounds"
5         messages during test execution.  Added dummy branch labels for BC2*
6         instructions.
7         * t-cop2.brn: Use --sky-debug option instead of env var.
8         * t-cop2.vuexpect: Updated for with new disassembly format.
9         
10         * sky_sce_fast.exp: Don't compare GIF outputs for
11         --float-type=fast.
12         * sce_test{17,33,49}.dvpasm: Use ".DmaPackVif 1" option to
13         exercise assembler / PKE.
14         
15         * rw-vureg.c: Cast memcpy operand to allay warning.
16
17 Mon Jun 15 15:34:10 1998 Frank Ch. Eigler <fche@cygnus.com>
18
19         * sim/sky/sky_sce_fast.exp: New file for fast floating point mode of
20         SCEI test cases.
21
22 Tue Jun 12 16:20:30 1998 Jillian Ye <jillian@cygnus.com>
23
24         * sim/sky/sky_sce.exp: Set the timeout for the sce visual testcases
25           to be 2000 sec (clock time). 
26         * sim/sky/sky-defs.tcl: Accept the timeout set in brn file
27           by sky_sce.exp for the duration of the test, and restore
28           the original value after the test is done.
29
30 Thu Jun 11 15:24:53 1998  Doug Evans  <devans@canuck.cygnus.com>
31
32         * sim/sky/vu01reg-main.c: New file.
33         * sim/sky/vu01reg.dvpasm: New file.
34         * sim/sky/vu01reg.brn: New file.
35
36         * sim/sky/vu.h (VU0_MEM1_WINDOW_START): New macro.
37         (VU0_MEM1_SIZE): New macro.
38
39         * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
40         which is now a list of options controlling the behaviour of sim_run.
41
42         * sim/sky/sky-defs.tcl (run_brn_test): Fix `options' arg to
43         sim_compile.  Fix handling of dvpasm_flags.
44         (run_trc_test): Update to new way of environment variables to sim_run.
45
46 Wed Jun 10 15:56:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
47
48         * sim/sky/t-int.c: New file to test sky hardware
49         interrupts.
50         * sim/sky/t-int-handler.s: New file for null interrupt
51         handler.
52         * sim/sky/t-int.brn: New file to build new test.
53
54 end-sanitize-sky
55 Wed Jun 10 10:53:20 1998  Doug Evans  <devans@seba.cygnus.com>
56
57         * sim/m32r/addx.cgs: Add another test.
58         * sim/m32r/jmp.cgs: Add another test.
59 start-sanitize-m32rx
60         * sim/m32r/bra8-2.cgs: New testcase.
61         * sim/m32r/hello.ms: Run on m32rx too.
62 end-sanitize-m32rx
63
64 start-sanitize-sky
65 Tue Jun  9 16:30:16 1998 Jillian Ye <jillian@cygnus.com>
66
67         * sky_sce.exp: Added the "diff -bitw" clause,
68           and turn on the "--enable-gs", "--float-type" options.
69
70 Tue Jun  9 08:55:05 1998  Doug Evans  <devans@canuck.cygnus.com>
71
72         * sim/sky/dma.h: New file.
73         * sim/sky/vif.h: New file.
74         * sim/sky/vu.h: New file.
75         * sim/sky/sce_main.c: Move magic numbers to .h files.
76
77 end-sanitize-sky
78 Mon Jun  8 16:08:27 1998  Doug Evans  <devans@canuck.cygnus.com>
79
80         * sim/m32r/trap.cgs: Test trap 2.
81
82 start-sanitize-sky
83 Fri Jun 03 11:22:33 1998  Patrick Macdonald <patrickm@cygnus.com>
84
85         * sim/sky/t-gif4.[trc|gifexpect]: additional test for a PATH3
86           pause 
87         * sim/sky/t-gif6.[trc|gifexpect]: additional test for IMT ( non
88           multiple of 8)
89
90 end-sanitize-sky           
91 Mon Jun  1 18:54:22 1998  Frank Ch. Eigler  <fche@cygnus.com>
92
93         * lib/sim-defs.exp (sim_run): Add possible environment variable
94         list to simulator run.
95 start-sanitize-sky
96         * sim/sky/sky-defs.tcl: Use it.
97         
98         * sim/sky/t-pke2.vif1out: Update to match recent word-precise
99         tracking table change in sim/mips/sky-pke.c.
100         * sim/sky/t-pke3.trc: Ditto.
101         * sim/sky/t-pke4.vif0expect: Ditto.
102 end-sanitize-sky        
103
104 Thu May 28 14:59:46 1998 Jillian Ye <jillian@cygnus.com>
105
106         * Makefile.in: Take RUNTEST out of FLAG_TO_PASS
107                        so that make check can be invoked recursively.
108
109 start-sanitize-sky
110 Thu May 21 11:45:50 1998  Patrick Macdonald <patrickm@cygnus.com>
111
112         * sim/sky/t-gif6.trc: IMT burst testcases
113         * sim/sky/t-gif6.gifexpect: IMT burst expected results
114         
115 Wed May 20 18:10:28 1998 Jillian Ye <jillian@cygnus.com>
116
117         * sim/sky/c_gen.pl: Added subroutine "print_comment"
118                     and on/off option for "src line #"
119
120 Mon May 18 10:37:47 1998  Doug Evans  <devans@canuck.cygnus.com>
121
122         * sim/sky/sky.ld: Delete file.
123
124 end-sanitize-sky
125 Thu May 14 11:48:35 1998  Doug Evans  <devans@canuck.cygnus.com>
126
127         * config/default.exp (CC,SIM): Delete.
128 start-sanitize-sky
129         * sim/sky/sky-defs.tcl (LDSCRIPT,SIM): Delete.
130         (run_trc_test): Use sim_compile, sim_run.  Only delete temp files
131         if testcase passed.
132         (run_brn_test): Ditto.
133         * sim/sky/sky.exp: Add runtest_file_p support.  Don't print
134         unsupported message if not sky.
135         * sim/sky/sky_sce.exp: Likewise.
136 end-sanitize-sky
137
138         * lib/sim-defs.exp (sim_run): Fix handling of output redirection.
139         New arg prog_opts.  All callers updated.
140
141 Fri May  8 18:10:28 1998  Jillian Ye <jillian@cygnus.com>
142
143         * Makefile.in: Made "check" the target of two
144           dependencies (test1, test2) so that test2 get a chance to 
145           run even when test1 failed if "make -k check" is used.
146
147 Fri May  8 14:41:28 1998  Doug Evans  <devans@canuck.cygnus.com>
148
149         * lib/sim-defs.exp (sim_version): Simplify.
150         (sim_run): Implement.
151         (run_sim_test): Use sim_run.
152         (sim_compile): New proc.
153
154 start-sanitize-sky
155 Thu May  7 12:30:59 1998  Patrick Macdonald <patrickm@cygnus.com>
156
157         * sim/sky/sky-defs.tcl: add handling for gifexpect and gsexpect
158         * sim/sky/t-gif*.trc: GIF unit test cases
159         * sim/sky/t-gif*.gifexpect: GIF unit test expected results
160         * sim/sky/t-gs.trc: GS unit test case
161         * sim/sky/t-gs.gsexpect: GS unit test case expected result
162          
163 Mon May  4 17:49:56 1998  Frank Ch. Eigler  <fche@cygnus.com>
164
165         * sim/sky/sky-defs.tcl: New file, common dejagnu routine definitions.
166         * sim/sky/sky.exp: New file, quick dejagnu test driver.
167         * sim/sky/sky_sce.exp: New file, SCE dejagnu test driver.
168         * sim/sky/*.brn: New files, test fragment descriptions.
169         * sim/sky/OTHERS: Old test cases from sim/testsuite/sky.
170
171 end-sanitize-sky
172 Mon May  4 17:59:11 1998  Frank Ch. Eigler  <fche@cygnus.com>
173
174 start-sanitize-sky
175         * configure.in (testdir): Don't use old sky test directory.
176         * configure: Regenerated
177         * sky/Makefile.in: swallow stderr on buggy tests
178 end-sanitize-sky
179         * config/default.exp: Added C compiler settings.
180
181 Wed Apr 22 12:26:28 1998  Doug Evans  <devans@canuck.cygnus.com>
182
183         * Makefile.in (TARGET_FLAGS_TO_PASS): Delete LIBS, LDFLAGS.
184
185 Tue Apr 21 10:49:03 1998  Doug Evans  <devans@canuck.cygnus.com>
186
187         * lib/sim-defs.exp (run_sim_test): Don't exit early if one mach fails,
188         try all machs.
189
190         * sim/m32r/addx.cgs: Test (-1)+(-1)+1.
191
192 Fri Apr 17 16:00:52 1998  Doug Evans  <devans@canuck.cygnus.com>
193
194         * sim/m32r/mv[ft]achi.cgs: Fix expected result
195         (sign extension of top 8 bits).
196 start-sanitize-m32rx
197         * sim/m32r/mv[ft]achi-a.cgs: Ditto.
198 end-sanitize-m32rx
199
200 start-sanitize-m32rx
201 Tue Apr 14 14:06:34 1998  Doug Evans  <devans@canuck.cygnus.com>
202
203         * sim/m32r/maclh1.cgs: Fix testcase.
204         * sim/m32r/maclh1-2.cgs: New testcase.
205
206 Tue Mar  3 19:09:09 1998  Doug Evans  <devans@canuck.cygnus.com>
207
208         * sim/m32r/sat.cgs: Change sath to sat.
209
210 end-sanitize-m32rx
211 Wed Feb 25 11:01:17 1998  Doug Evans  <devans@canuck.cygnus.com>
212
213         * Makefile.in (RUNTEST): Fix path to runtest.
214
215 start-sanitize-sky
216 Tue Feb 24 19:47:56 1998  Frank Ch. Eigler  <fche@cygnus.com>
217
218         * configure.in (testdir): Added sky subdir for mips64r5900-sky-elf
219         target.  
220         * configure: Regenerate.
221 end-sanitize-sky
222         
223 Fri Feb 20 11:00:02 1998  Nick Clifton  <nickc@cygnus.com>
224
225         * sim/m32r/unlock.cgs: Fixed test.
226         * sim/m32r/mvfc.cgs: Fixed test.
227         * sim/m32r/remu.cgs: Fixed test.
228
229         * sim/m32r/bnc24.cgs: Test long BNC instruction.
230         * sim/m32r/bnc8.cgs: Test short BNC instruction.
231         * sim/m32r/ld-plus.cgs: Test LD instruction.
232         * sim/m32r/macwhi.cgs: Test MACWHI instruction.
233         * sim/m32r/macwlo.cgs: Test MACWLO instruction.
234         * sim/m32r/mulwhi.cgs: Test MULWHI instruction.
235         * sim/m32r/mulwlo.cgs: Test MULWLO instruction.
236         * sim/m32r/mvfachi.cgs: Test MVFACHI instruction.
237         * sim/m32r/mvfaclo.cgs: Test MVFACLO instruction.
238         * sim/m32r/mvtaclo.cgs: Test MVTACLO instruction.
239         * sim/m32r/addv.cgs: Test ADDV instruction.
240         * sim/m32r/addv3.cgs: Test ADDV3 instruction.
241         * sim/m32r/addx.cgs: Test ADDX instruction.
242         * sim/m32r/lock.cgs: Test LOCK instruction.
243         * sim/m32r/neg.cgs: Test NEG instruction.
244         * sim/m32r/not.cgs: Test NOT instruction.
245         * sim/m32r/unlock.cgs: Test UNLOCK instruction.
246 start-sanitize-m32rx
247         * sim/m32r/mvfachi-a.cgs: Test extended MVFACHI instruction.
248         * sim/m32r/mvfaclo-a.cgs: Test extended MVFACLO instruction.
249         * sim/m32r/mvtachi-a.cgs: Test extended MVTACHI instruction.
250         * sim/m32r/mvtaclo-a.cgs: Test extended MVTACLO instruction.
251 end-sanitize-m32rx
252 Thu Feb 19 11:15:45 1998  Nick Clifton  <nickc@cygnus.com>
253
254         * sim/m32r/testutils.inc (mvaddr_h_gr): new macro to load an
255         address into a general register.
256
257         * sim/m32r/or3.cgs: Test OR3 instruction.
258         * sim/m32r/rach.cgs: Test RACH instruction.
259         * sim/m32r/rem.cgs: Test REM instruction.
260         * sim/m32r/sub.cgs: Test SUB instruction.
261         * sim/m32r/mv.cgs: Test MV instruction.
262         * sim/m32r/mul.cgs: Test MUL instruction.
263         * sim/m32r/bl24.cgs: Test long BL instruction.
264         * sim/m32r/bl8.cgs: Test short BL instruction.
265         * sim/m32r/blez.cgs: Test BLEZ instruction.
266         * sim/m32r/bltz.cgs: Test BLTZ instruction.
267         * sim/m32r/bne.cgs: Test BNE instruction.
268         * sim/m32r/bnez.cgs: Test BNEZ instruction.
269         * sim/m32r/bra24.cgs: Test long BRA instruction.
270         * sim/m32r/bra8.cgs: Test short BRA instruction.
271         * sim/m32r/jl.cgs: Test JL instruction.
272         * sim/m32r/or.cgs: Test OR instruction.
273         * sim/m32r/jmp.cgs: Test JMP instruction.
274         * sim/m32r/and.cgs: Test AND instruction.
275         * sim/m32r/and3.cgs: Test AND3 instruction.
276         * sim/m32r/beq.cgs: Test BEQ instruction.
277         * sim/m32r/beqz.cgs: Test BEQZ instruction.
278         * sim/m32r/bgez.cgs: Test BGEZ instruction.
279         * sim/m32r/bgtz.cgs: Test BGTZ instruction.
280         * sim/m32r/cmp.cgs: Test CMP instruction.
281         * sim/m32r/cmpi.cgs: Test CMPI instruction.
282         * sim/m32r/cmpu.cgs: Test CMPU instruction.
283         * sim/m32r/cmpui.cgs: Test CMPUI instruction.
284         * sim/m32r/div.cgs: Test DIV instruction.
285         * sim/m32r/divu.cgs: Test DIVU instruction.
286         * sim/m32r/cmpeq.cgs: Test CMPEQ instruction.
287         * sim/m32r/sll.cgs: Test SLL instruction.
288         * sim/m32r/sll3.cgs: Test SLL3 instruction.
289         * sim/m32r/slli.cgs: Test SLLI instruction.
290         * sim/m32r/sra.cgs: Test SRA instruction.
291         * sim/m32r/sra3.cgs: Test SRA3 instruction.
292         * sim/m32r/srai.cgs: Test SRAI instruction.
293         * sim/m32r/srl.cgs: Test SRL instruction.
294         * sim/m32r/srl3.cgs: Test SRL3 instruction.
295         * sim/m32r/srli.cgs: Test SRLI instruction.
296         * sim/m32r/xor3.cgs: Test XOR3 instruction.
297         * sim/m32r/xor.cgs: Test XOR instruction.
298 start-sanitize-m32rx    
299         * sim/m32r/jnc.cgs: Test JNC instruction.
300         * sim/m32r/jc.cgs: Test JC instruction.
301         * sim/m32r/cmpz.cgs: Test CMPZ instruction.
302         * sim/m32r/bcl24.cgs: Test long version of BCL instruction
303         * sim/m32r/bcl8.cgs: Test short BCL instruction.
304         * sim/m32r/bncl24.cgs: Test long BNCL instruction.
305         * sim/m32r/bncl8.cgs: Test short BNCL instruction.
306         * sim/m32r/divh.cgs: Test DIVH instruction.
307         * sim/m32r/rach-dsi.cgs: Test extended RACH instruction.
308 end-sanitize-m32rx      
309 Tue Feb 17 12:46:05 1998  Doug Evans  <devans@seba.cygnus.com>
310
311         * config/default.exp: New file.
312         * lib/sim-defs.exp: New file.
313         * sim/m32r/*: m32r dejagnu simulator testsuite.
314
315         * Makefile.in (build_alias): Define.
316         (arch): Define.
317         (RUNTEST_FOR_TARGET): Delete.
318         (RUNTEST): Fix.
319         (SCHEME,SCHEMEFLAGS,CGENDIR,CGENFLAGS): Define.
320         (check): Depend on site.exp.  Run dejagnu.
321         (site.exp): New target.
322         (cgen): New target.
323         * configure.in: Call AC_CHECK_PROG(SCHEME) if using cgen.
324         (arch): Define from target_cpu.
325         * configure: Regenerate.
326
327 Wed Sep 17 10:21:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
328
329         * common/bits-gen.c (gen_bit): Pass in the full name of the macro.
330         (gen_mask): Ditto.
331
332         * common/bits-tst.c (main): Add tests for LSSEXT, MSSEXT.
333         (calc): Add support for 8 bit version of macros.
334         (main): Add tests for 8 bit versions of macros.
335         (check_sext): Check SEXT of zero clears bits.
336
337         * common/bits-gen.c (main): Generate tests for 8 bit versions of
338         macros.
339
340 Thu Sep 11 13:04:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
341
342         * common/Make-common.in: New file, provide generic rules for
343         running checks.
344
345 Mon Sep  1 16:43:55 1997  Andrew Cagney  <cagney@b1.cygnus.com>
346
347         * configure.in (configdirs): Test for the target directory instead
348         of matching on a target.
349
350 start-sanitize-r5900
351 Tue Jul 15 13:43:20 1997  Andrew Cagney  <cagney@sendai.cygnus.com>
352
353         * configure.in (configdirs): Configure mips64vr5900el
354         directory.
355         * configure: Regenerate.
356
357 end-sanitize-r5900