WIP: implement more instructions in unit::alu_branch #14

Draft
programmerjake wants to merge 6 commits from programmerjake/cpu:more-alu-branch into master

Previously implemented:

  • AddSubMOp
  • BranchMOp

Newly implemented:

  • CompareMOp
  • ShiftRotateMOp (flags and shift amount overflow aren't implemented)
  • LogicalFlagsMOp

Not (yet) implemented:

  • LogicalMOp
  • ReadSpecialMOp (maybe this should not be in AluBranchMOp?)

Testing:

  • All rename_execute_retire tests pass with unit::alu_branch (test_rename_execute_retire_*_real)
  • Need more thorough testing of input/output values (probably a different PR)
Previously implemented: * AddSubMOp * BranchMOp Newly implemented: * CompareMOp * ShiftRotateMOp (flags and shift amount overflow aren't implemented) * LogicalFlagsMOp Not (yet) implemented: * LogicalMOp * ReadSpecialMOp (maybe this should not be in AluBranchMOp?) Testing: * All rename_execute_retire tests pass with `unit::alu_branch` (`test_rename_execute_retire_*_real`) * Need more thorough testing of input/output values (probably a different PR)
programmerjake added 6 commits 2026-05-26 06:35:41 +00:00
programmerjake force-pushed more-alu-branch from 3bff2bd224 to b25448a275 2026-05-26 06:43:34 +00:00 Compare
All checks were successful
/ test (pull_request) Successful in 6m41s
Required
Details
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u more-alu-branch:programmerjake-more-alu-branch
git checkout programmerjake-more-alu-branch
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: libre-chip/cpu#14
No description provided.