Add Thumb IT lookback width fixture - #212
Open
zardus wants to merge 2 commits into
Open
Conversation
Member
Author
|
THIS MESSAGE WAS GENERATED BY AN AUTOMATED PROCESS Validation record for head
|
Member
Author
|
THIS MESSAGE WAS GENERATED BY AN AUTOMATED PROCESS Exact fixture-shape and consumer-output record for #212.
Before — four exact Exact consumer baselineAfter — four exact Exact consumer head |
zardus
force-pushed
the
feature/thumb-it-lookback-fixture
branch
from
August 28, 2026 16:49
b68d18e to
b16b950
Compare
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.
THIS MESSAGE WAS GENERATED BY AN AUTOMATED PROCESS
Problem
PyVEX's Thumb regressions need a real instruction stream that combines a mixed 16/32/16-bit
ITTTgroup, a false0xbf08IT candidate insideLDREX, and the nine-halfword lookback edge. Binaries master has notests/armel/thumb_it_lookback_widths.bin.Root cause
The lookback decision depends on actual Thumb instruction widths and alignment. Synthetic bytes in the consumer test would bypass the workspace's real-fixture policy and would not prove a toolchain emits the sequence.
Fix
Add the 64-byte Cortex-M3 Thumb
.textimage, its complete MIT-licensed assembly source, and the Clang/LLD/LLVM objcopy 21.1.8 build recipe.Testing
Exact-head readback confirms 64 bytes beginning
f0b50028013000bf02bf401c15f4c03fand SHA-256a49c1a151765f87446da09b98d6b11991f054a0a4ccb1d4ed2ea92694ad1f628. Two builds in separate fresh directories reproduced the source, object, ELF, and raw image byte-for-byte. Validation: #212 (comment)session: sharpen