Skip to content

Feat/68020 efficiency - #68

Merged
rozensoftware merged 2 commits into
masterfrom
feat/68020-efficiency
Oct 14, 2026
Merged

rozensoftware merged 2 commits into
masterfrom
feat/68020-efficiency

Conversation

@rozensoftware

Copy link
Copy Markdown
Owner

No description provided.

- Implemented support for long branches (`BRA.L`/`Bcc.L`) and improved branch size selection based on displacement.
- Updated handling of arbitrary strides in indexed addressing to use `mulu.l` for non-{1,2,4,8} strides on 68020, avoiding 16-bit truncation.
- Added alignment directives for `long` and `ptr` data labels, ensuring 4-byte alignment with `cnop 0,4` where necessary.
- Updated documentation to reflect changes in emitted code efficiency and alignment strategies.
- Added tests to validate new behaviors for branch sizing, data alignment, and stride handling across both 68000 and 68020 targets.
@rozensoftware
rozensoftware merged commit 30d0c80 into master Oct 14, 2026
2 checks passed
@rozensoftware
rozensoftware deleted the feat/68020-efficiency branch October 14, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant