From 86772de0d569b77d2e62daafd3871a625fe6b5d7 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Sun, 21 Apr 2013 16:44:10 -0700 Subject: Added test cases for divs/divu and added divide by zero handler to test generator --- testcases.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'testcases.txt') 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 -- cgit v1.2.3