Repository navigation
Ryty 2.1.0: verified Intel support - #31
Merged
Merged
Conversation
Focus this release entirely on Intel hosts: the AMD-only instruction lowering behind --to-intel is now verified end to end and the CLI guides Intel users towards it. - ScanResidual on IAmd64OnlyConverter lists any AMD-only instruction still present after conversion. The CLI re-scans the finished Linux image and fails the port (exit 2, with name and offset) if a site survived, so a broken lowering can never ship a binary that traps. - HostCpu detects the host CPU vendor with CPUID; on an Intel host without --to-intel the CLI warns and records a report warning. - PortScheme carries toIntel (text line, port report and batch report), and the web studio mirrors it in its scheme, card and report. - --to-intel --verbose confirms "no AMD-only instructions remain". - Version 2.1.0 across CLI, GUI, RytyNet, Metal capability and Apple LC_SOURCE_VERSION payloads. Tests: new C++ TestIntelCpuLowering/TestAmd64OnlyResidualScan/ TestHostCpuDetection and a new IntelLoweringTests.py integration suite; version assertions updated. Full ctest suite passes 7/7. Co-authored-by: openhands <openhands@all-hands.dev>
The real Objective-C Metal bridge (RytyMetalRenderer.m, compiled only on macOS) still returned the 2.0.0 capability value, so TestMetalBridge failed on the macOS CI job. Bump it to 0x00020100 alongside the Linux stub. Co-authored-by: openhands <openhands@all-hands.dev>
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.
What changed
Ryty 2.1.0 focuses entirely on Intel CPU support. The AMD-only instruction lowering behind
--to-intelis now verified end to end, and the CLI guides Intel users towards it.Before this release, a
--to-intelport could silently ship a binary that still contained an AMD-only instruction (e.g. a trampoline site the writer failed to overwrite), which then traps on an Intel host. Now the finished image is re-scanned and the port fails instead.Intel features
IAmd64OnlyConverter::ScanResidual()lists every AMD-only instruction still recognized in a code segment. After--to-intel, the CLI re-scans the finished Linux image and fails the port (exit code 2, with instruction name and offset) if any site survived.--to-intel --verboseprintsIntel verification: no AMD-only instructions remain in the ported image.core/relinker/cli/include/HostCpu.hppreads the host CPU vendor with CPUID. On an Intel host without--to-intelthe CLI prints a warning and records one in the porting report.PortSchemecarriestoIntel, emitted in the one-line scheme description, theryty-port-report/2and theryty-batch-report/1. The web Porting Studio mirrors it in its scheme, card and JSON report.--version), the Qt6 GUI, the RytyNet bridge (RYTNET_VERSION,User-Agent), the Metal bridge capability value and the AppleLC_SOURCE_VERSIONpayload.Tests
TestIntelCpuLowering,TestAmd64OnlyResidualScan,TestHostCpuDetection.core/relinker/tests/IntelLoweringTests.py(in-place MONITORX, trampoline CLZERO/RDPRU, no-flag passthrough, scheme line, batch report), registered in CMake.RelinkerTests.cpp,MacOsSignatureTests.py).ctestsuite passes 7/7 on thelinux-release-clipreset;node --checkpasses on the web assets.Docs
CHANGELOG.md(new 2.1.0 section),README.md,docs/user/USAGE.md,docs/dev/INSTRUCTION_LOWERING.md,docs/dev/TechnicalDebt.md,demo/web/README.md.Checklist (per
.github/PULL_REQUEST_TEMPLATE.md)ScanResidualthrowsCodegenExceptionon out-of-range segments; the CLI throws on residual sites).RelinkerTests.cppandIntelLoweringTests.py.ctestpasses on thelinux-release-clipreset.This pull request was created by an AI agent (OpenHands) on behalf of the user.
@aarvsn can click here to continue refining the PR