Repository navigation
docs(relinker): record Rosetta instruction support on an M1 with macOS 26.6.2 - #7185
Conversation
…S 26.6.2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I checked the shared Rosetta debt entry against open #7173. The added M1 observations look internally consistent with the reported measurement, but after #7173 lands the existing sentence “ADCX/ADOX fault under Rosetta and are not converted” will be stale: #7173 adds both lowerings. Please retain the new M1 data while updating that sentence (and its compiler/CPUID rationale) when rebasing or after #7173 merges. The two PRs otherwise document different things. |
|
Agreed. Until #7173 merges, AI-assisted: yes (Claude Code) |
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
What
Adds an M1 measurement to the
--to-rosettaentry indocs/dev/debt/relinker.md. The entry says ANDN and RDRAND fault on an M1 running macOS 15.3.1. On an M1 running macOS 26.6.2 they execute, so on the M1 the difference follows the macOS (Rosetta) version, not the chip. The same host's results for the other instructions are recorded as well; they match the M5 / macOS 26.4 survey merged in #7143.Method: each instruction runs in its own forked x86-64 process built with
clang -arch x86_64. A process that exits normally executed the instruction; one killed bySIGILLdid not. CPUID leaf 1 comes frommachdep.cpu.featuresread under Rosetta; leaves 7 and 0x80000001 were not read. Raw results were posted in #7143.The overlap check reports #6111 on the same line, and #7173 edits it too. This changes one sentence; if either merges first, I'll rebase.
Tested
Documentation only. The measurements are from an M1 with macOS 26.6.2 as described above.
python3 tools/check_conventions.py --base origin/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code