Mercurial > repos > blastem
annotate testcases.txt @ 226:28a6697e847b
Implement CHK instruction (not fully tested).
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 21 Apr 2013 13:00:34 -0700 |
parents | f7ff02eeec2f |
children | 42123feab62d |
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 |
220
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
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 |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
3 #add bwl d (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
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 |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
5 #addi bwl #n d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
6 #addq bwl #(1-8) d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
7 #addx bwl d d |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
8 #addx bwl -(a) -(a) |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
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 |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
10 #and bwl d (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
11 #andi bwl #n d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
12 #asl bwl d;#(1-8) d |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
13 #asr bwl d;#(1-8) d |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
14 #lsl bwl d;#(1-8) d |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
15 #lsr bwl d;#(1-8) d |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
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 |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
17 #sub bwl d (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
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 |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
19 #subi bwl #n d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
20 #subq bwl #(1-8) d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
21 #subx bwl d d |
cb72780e17b1
Add support for picking random numbers in a larger range in test generator. Add support for running a subset of tests in runner. Added testcases for bit and rotate instructions.
Mike Pavone <pavone@retrodev.com>
parents:
217
diff
changeset
|
22 #subx bwl -(a) -(a) |
222
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
23 #bchg b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
24 #bchg l d;#(0-255) d |
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
25 #bset b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
26 #bset l d;#(0-255) d |
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
27 #bclr b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
28 #bclr l d;#(0-255) d |
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
29 #btst b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l |
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
30 #btst l d;#(0-255) d |
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
31 #rol bwl d;#(1-8) d |
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
32 #ror bwl d;#(1-8) d |
224
f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
Mike Pavone <pavone@retrodev.com>
parents:
222
diff
changeset
|
33 #abcd b d d |
f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
Mike Pavone <pavone@retrodev.com>
parents:
222
diff
changeset
|
34 #abcd b -(a) -(a) |
f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
Mike Pavone <pavone@retrodev.com>
parents:
222
diff
changeset
|
35 #sbcd b d d |
f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
Mike Pavone <pavone@retrodev.com>
parents:
222
diff
changeset
|
36 #sbcd b -(a) -(a) |
f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
Mike Pavone <pavone@retrodev.com>
parents:
222
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 |
f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
Mike Pavone <pavone@retrodev.com>
parents:
222
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 |
f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
Mike Pavone <pavone@retrodev.com>
parents:
222
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 |
f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
Mike Pavone <pavone@retrodev.com>
parents:
222
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 |
f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
Mike Pavone <pavone@retrodev.com>
parents:
222
diff
changeset
|
41 moveq l #(-128-127) d |
f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
Mike Pavone <pavone@retrodev.com>
parents:
222
diff
changeset
|
42 roxl bwl d;#(1-8) d |
f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
Mike Pavone <pavone@retrodev.com>
parents:
222
diff
changeset
|
43 roxr bwl d;#(1-8) d |
222
b52f81d7cad0
Added testcases for muls, mulu, abcd and sbcd
Mike Pavone <pavone@retrodev.com>
parents:
220
diff
changeset
|
44 |