Fix overflows in shift primitives.
[u/mdw/catacomb] / tests / mpx
index e8aabac..1603838 100644 (file)
--- a/tests/mpx
+++ b/tests/mpx
@@ -1,6 +1,6 @@
 # Test vectors for low-level MP functions
 #
-# $Id: mpx,v 1.8 2002/10/06 22:52:50 mdw Exp $
+# $Id: mpx,v 1.9 2002/10/19 18:55:08 mdw Exp $
 
 # --- Load-store tests ---
 #
@@ -50,6 +50,8 @@ lsl {
   01 2 04;
   01 4 10;
 
+  7 -1 0;
+
   # --- Copy shifts ---
 
   01 0 01;
@@ -133,6 +135,8 @@ lsr {
 
   04 2 01;
   10 4 01;
+  7 -1 0;
+  7 32 0;
 
   # --- Copy shifts ---