From 9a46382752dfa7330252301f890fd0a8ae5b3614 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Sat, 20 Apr 2013 17:32:34 -0700 Subject: Added testcases for muls, mulu, abcd and sbcd --- testcases.txt | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/testcases.txt b/testcases.txt index bd24ff2..639e3eb 100644 --- a/testcases.txt +++ b/testcases.txt @@ -20,13 +20,20 @@ Name Sizes Src Modes Dst Modes #subq bwl #(1-8) d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l #subx bwl d d #subx bwl -(a) -(a) -bchg b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l -bchg l d;#(0-255) d -bset b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l -bset l d;#(0-255) d -bclr b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l -bclr l d;#(0-255) d -btst b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l -btst l d;#(0-255) d -rol bwl d;#(1-8) d -ror bwl d;#(1-8) d +#bchg b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l +#bchg l d;#(0-255) d +#bset b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l +#bset l d;#(0-255) d +#bclr b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l +#bclr l d;#(0-255) d +#btst b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l +#btst l d;#(0-255) d +#rol bwl d;#(1-8) d +#ror bwl d;#(1-8) d +abcd b d d +abcd b -(a) -(a) +sbcd b d d +sbcd b -(a) -(a) +muls w d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d +mulu 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