diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-04-21 16:44:10 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-04-21 16:44:10 -0700 |
commit | 86772de0d569b77d2e62daafd3871a625fe6b5d7 (patch) | |
tree | 7fd60e1453fd7bfa953fbdb996c32862e51d1afa /testcases.txt | |
parent | 28b19a047f98ac80090e5286d5f0c0349b91dc38 (diff) |
Added test cases for divs/divu and added divide by zero handler to test generator
Diffstat (limited to 'testcases.txt')
-rw-r--r-- | testcases.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testcases.txt b/testcases.txt index f7f5153..b4f1958 100644 --- a/testcases.txt +++ b/testcases.txt @@ -38,7 +38,9 @@ Name Sizes Src Modes Dst Modes #mulu w d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d #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 #movea wl d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) a -moveq l #(-128-127) d -roxl bwl d;#(1-8) d -roxr bwl d;#(1-8) d +#moveq l #(-128-127) d +#roxl bwl d;#(1-8) d +#roxr bwl d;#(1-8) d +divs w d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d +divu w d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d |