Skip to content

spec: review ALU chips for redundancies and optimizations #638

@RobinJadoul

Description

@RobinJadoul

After #624 changed the CPU to no longer ensure smaller-than-word input range checks, ALU chips needing these now have to enforce that individually.
Adding these checks directly in #624 has left some room for another pass through all chips to make sure this is done in a smart way and to make sure there are no further inconsistencies.
For instance:

  • DVRM no longer needs to enforce the range-check on the MUL inputs
  • LOAD is the only MSB8 consumer, and consumes multiple MSB8s, opening the door to either IS_BYTE-like batching, or replacing MSB8 entirely by MSB16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestspecUpdates and improvements to the spec document

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions