some ILC fixes
authorAdam Megacz <adam.megacz@sun.com>
Tue, 21 Apr 2009 01:22:38 +0000 (01:22 +0000)
committerAdam Megacz <adam.megacz@sun.com>
Tue, 21 Apr 2009 01:22:38 +0000 (01:22 +0000)
testCode/com/sun/vlsi/chips/marina/test/Marina.java

index b1d4eaa..5cbe452 100644 (file)
@@ -68,21 +68,15 @@ public class Marina {
         }
         /** Get the inner loop counter done bit. */
         public boolean getDone() {
-            return (value & 0x100) != 0;
+            return (value & 0x40) != 0;
         }
         /** Get the inner loop counter infinity bit */
         public boolean getInfinity() {
-            return (value & 0x80) == 0;
-        }
-        /** Get the inner loop counter zero bit. If the zero bit is true
-         * then the hardware considers the inner loop counter to be zero
-         * regardless of the state of the count bits */
-        public boolean getZero() {
-            return (value & 0x40) != 0;
+            return (value & 0x80) != 0;
         }
         /** Get the 6 bits of count of the inner loop counter */
         public int getCount() {
-            return value & 0xff;
+            return value & 0x3f;
         }
     }