THE ARITHMETIC
Every arithmetic, logic and shift instruction produces the same result and the same four flags as the same operation built out of the primitive.
- METHOD
- Deterministic vectors are driven through the machine one instruction at a time. The expected value is computed by the gate level model in gates.ts, which composes NAND cells into a ripple carry adder, a logic unit and a four stage barrel shifter.
- A PASS DOES NOT ESTABLISH
- A sampled sweep covers the operand space it visits. The full sweep is exhaustive over its own vector schedule, not over all 2³² operand pairs.
QUICK 4,096 · FULL 1,048,576 VECTORS