Mercurial > repos > blastem
annotate testcases.txt @ 1937:cafde1255ad3 mame_interp
Fix resuming 68K core when using interpreter
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 19 Apr 2020 00:59:49 -0700 |
parents | 66b730a8ae51 |
children |
rev | line source |
---|---|
217
acd29e2664c6
Added testcases file. Some fixes to test generator for dealing with indexed mode with base and index reg the same. Added support for blastem headless mode in test runner.
Mike Pavone <pavone@retrodev.com>
parents:
diff
changeset
|
1 Name Sizes Src Modes Dst Modes |
609
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
2 add bwl d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
3 add bwl d (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
4 adda wl d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) a |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
5 addi bwl #n d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
6 addq bwl #(1-8) d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
7 addx bwl d d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
8 addx bwl -(a) -(a) |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
9 and bwl d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
10 and bwl d (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
11 andi bwl #n d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
12 asl bwl d;#(1-8) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
13 asr bwl d;#(1-8) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
14 lsl bwl d;#(1-8) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
15 lsr bwl d;#(1-8) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
16 sub bwl d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
17 sub bwl d (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
18 suba wl d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) a |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
19 subi bwl #n d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
20 subq bwl #(1-8) d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
21 subx bwl d d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
22 subx bwl -(a) -(a) |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
23 bchg b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
24 bchg l d;#(0-255) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
25 bset b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
26 bset l d;#(0-255) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
27 bclr b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
28 bclr l d;#(0-255) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
29 btst b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
30 btst l d;#(0-255) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
31 rol bwl d;#(1-8) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
32 ror bwl d;#(1-8) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
33 abcd b d d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
34 abcd b -(a) -(a) |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
35 sbcd b d d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
36 sbcd b -(a) -(a) |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
37 muls w d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
38 mulu w d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
39 move bwl d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
40 movea wl d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) a |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
41 moveq l #(-128-127) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
42 roxl bwl d;#(1-8) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
43 roxr bwl d;#(1-8) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
44 divs w d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
45 divu w d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
46 chk w d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
47 cmp bwl d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
48 cmpa wl d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) a |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
49 cmpi bwl #n d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
50 cmpm bwl (a)+ (a)+ |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
51 eor bwl d d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
52 eori bwl #n d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
53 exg l d d;a |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
54 exg l a a |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
55 link w a #n |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
56 or bwl d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
57 or bwl d (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
58 ori bwl #n d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
59 clr bwl d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
60 ext wl d |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
61 neg bwl d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
62 negx bwl d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
63 not bwl d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
64 pea l (a);(n,a);(n,a,x);(n).w;(n).l;(n,pc);(n,pc,x) |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
65 rol w (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
66 ror w (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
67 roxl w (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
68 roxr w (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
69 st b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
70 sf b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
71 shi b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
72 sls b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
73 scc b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
74 scs b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
75 sne b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
76 seq b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
77 svc b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
78 svs b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
79 spl b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
80 smi b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
81 sge b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
82 slt b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
83 sgt b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
84 sle b d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
66b730a8ae51
Uncomment 68000 testcases
Michael Pavone <pavone@retrodev.com>
parents:
572
diff
changeset
|
85 swap w d |
441
112d5d0830fd
Add a bunch of 68K test cases for single operand instructions
Mike Pavone <pavone@retrodev.com>
parents:
439
diff
changeset
|
86 tst bwl d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
572
0f32f52fc98e
Make some small changes in trans so that it is more likely to produce the same output as mustrans when given misbehaving programs. Add lea to testcases.txt. Improve the output of comparetest.py so that known issues can easily be separated from new ones.
Michael Pavone <pavone@retrodev.com>
parents:
441
diff
changeset
|
87 lea l (a);(n,a);(n,a,x);(n).w;(n).l;(n,pc);(n,pc,x) a |
222
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
88 |