Add CMake building#48
Merged
Merged
Conversation
skiretic
pushed a commit
to skiretic/86Box-voodoo-arm64
that referenced
this pull request
Feb 21, 2026
R2-23: EMIT_MOV_IMM64, EMIT_LOAD_NEON_CONST, and dither_rb_addr now skip zero halfwords -- MOVZ targets the first non-zero halfword, then MOVK only for remaining non-zero ones. Saves ~10 instructions per block across 4 sites (7 prologue ptrs + 3 NEON consts + 1 dither ptr). New ARM64_MOVZ_X_HW(d, imm16, hw) encoding macro added. R2-09: (1<<48) dividend for perspective W division now uses a single MOVZ X4, #1, LSL 86Box#48 instead of 4 instructions (MOVZ #0 + 3 MOVK). Saves 3 instructions per perspective-textured block.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It doesn't FULLY work yet, but it's close. The only thing that fails with CMake + msys2 is linking.