خلفيّة سياديّة: هدف ثانٍ AArch64 (fixed32) — يُبرهِن عموميّة مخطّطات م٠ - #319
Merged
Conversation
توسيعُ جداول م٠ بهدفٍ ثانٍ مختلفِ الصنف (AArch64: RISC ثابت ٣٢-بت) قبل كتابة المحرّك — تطبيقٌ لانضباط «الهدف الثاني المبكّر» في RFC الخلفيّة السياديّة (rfcs #57): إثباتُ أنّ المخطّطات عامّةٌ لا مشبعةٌ بافتراضات x86، ببياناتٍ فقط دون تعديل أيّ مخطّط أو كود مشترك. المُضاف (بيانات فقط): • backend/arm64/instructions.yaml (fixed32، حقول بتّات): MOVZ/ADD/SVC/RET — الترميزات مُتحقَّقة بايتًا ببايت ضدّ المرجع المعروف (0xD2800000/0x8B000000/0xD4000001/0xD65F03C0). • backend/arm64/registers.yaml (x0..x30 + xzr/sp num=31، x18 platform محجوز). • backend/arm64/isel.yaml (ثلاثيّة المعاملات: add d,a,b — لا تدمير الوجهة). • backend/abi/aarch64-linux.yaml (svc، x8 رقم النداء، e_machine=183، write=64/exit=93/ exit_group=94 asm-generic، AAPCS64 بلا منطقة حمراء). • test_schema_validation.py: +٤ أزواج arm64 + test_both_encoding_families_present. نفسُ backend_encoding.schema.json يستوعب variable (x86) وfixed32 (arm64) بلا تغيير ⇒ عموميّةُ التجريد مُبرهَنة قبل المحرّك. ١٦/١٦ PASS. أميليا CLEAR (كلّ بت محسوب، صفر تلويث للمشترك). صفر انحدار (الإخفاقات الثلاثة السابقة غير متعلّقة). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
📚 تذكير مزامنة دليل المطوّرين هذا الـPR يلمس مصادر موثَّقة في دليل المطوّرين. راجع الفصول الآتية وحدّثها إن تغيّر سلوكها، ثم ثبّت البصمات هناك (
بندٌ في معيار الإنجاز. تذكيرٌ آليّ — لا يحجب الدمج. |
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.
الغرض
توسيعُ جداول م٠ (المدموجة في #318) بهدفٍ ثانٍ مختلفِ الصنف — AArch64 (RISC، عرضٌ ثابت ٣٢-بت، عائلة
fixed32) — قبل كتابة المحرّك. تطبيقٌ لانضباط «الهدف الثاني المبكّر» في RFC الخلفيّة السياديّة: إثباتُ أنّ المخطّطات عامّةٌ لا مشبعةٌ بافتراضات x86 — ببياناتٍ فقط، دون تعديل أيّ مخطّط أو كود مشترك.المُضاف (بيانات فقط)
backend/arm64/instructions.yamlfixed32بحقول بتّات: MOVZ/ADD/SVC/RETbackend/arm64/registers.yamlx0..x30+xzr/sp(num=31)،x18platform محجوزbackend/arm64/isel.yamladd d,a,b— لا تدمير الوجهة)backend/abi/aarch64-linux.yamlsvc،x8رقم النداء،e_machine=183، AAPCS64 بلا منطقة حمراءالتحقّق
MOVZ X0,#0=0xD2800000،ADD X0,X0,X0=0x8B000000،SVC #0=0xD4000001،RET=0xD65F03C0.backend_encoding.schema.jsonيستوعبvariable(x86) وfixed32(arm64) بلا تغيير ⇒ عموميّةُ التجريد مُبرهَنة قبل المحرّك.test_schema_validation.py: +٤ أزواج arm64 +test_both_encoding_families_present⇒ ١٦/١٦ PASS.🤖 Generated with Claude Code