مقترح: مُعدِّل «دالة مقاطعة» وبوابة x86_intrcc + مدمج «حمل_سجل_المهمة» - #59
Merged
Hidden character warning
The head ref may contain hidden characters: "rfc/\u062f\u0627\u0644\u0629-\u0645\u0642\u0627\u0637\u0639\u0629"
Conversation
قدرتان متلازمتان تُطفئان أكعاب دخول المقاطعات المكتوبة يدويًّا في نواة النحلة: خفض الدالة الموسومة باتفاقية النداء x86_intrcc في LLVM (prologue/epilogue بوابة كاملان)، ومدمج ltr لقراءة سجل المهمة. متطلب مسبق لسد فجوة ح٢ من جرد فجوات المصرف لنواة 64-بت. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ية أخضر) (AR) حارسُ بنيةِ المقترحاتِ كان أحمرَ بأربعِ مخالفات: عنوانُ «العيوب» لا يطابقُ الكلمةَ المفتاحيّةَ «السلبيات»، و«الأسئلة غير المحسومة» لا تطابقُ «غير محسومة» (أل التعريف)، وقسما «أعمال سابقة» و«أعمال مستقبلية» غائبان. - «العيوب» ⇒ «السلبيات»، و«الأسئلة غير المحسومة» ⇒ «أسئلة غير محسومة». - **أعمال سابقة** أُضيفت بمضمونٍ لا بعنوانٍ فارغ: سمةُ Rust غيرُ المستقرّة `x86-interrupt`، و`__attribute__((interrupt))` في clang/gcc بعقدِها نفسِه (byval للإطار، معاملُ رمزِ الخطأ، `iretq`) وقيدِها المعروفِ أنّها لا تحفظُ SSE/MXCSR — وهو ما يُسنِدُ قرارَ حارسِ «لا عشريّ في الجسم»؛ والسابقةُ الداخليّةُ الحيّة: أنبوبُ `لا_ترجع` السباعيّ ومدمجا lgdt/lidt. - **أعمال مستقبلية**: مُعدِّلُ الوسيطِ `مقاطعة(احفظ_العائم)` بـfxsave، وبنيةُ `إطار_مقاطعة` القياسيّةُ بدل `رقم` الخام، ونظائرُ aarch64/riscv تحت المُعدِّلِ نفسِه، والكعبُ اليدويُّ في الخلفيّةِ الأصليّة. القياس: `lint_rfcs.py` محلّيًّا ⇒ «كل المقترحات (22) سليمة». Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
الملخص
قدرتان متلازمتان تُطفئان أكعاب دخول المقاطعات المكتوبة يدويًّا في نواة النحلة:
x86_intrccفي LLVM، فيتولد لها prologue/epilogue بوابةِ مقاطعةٍ كاملان.الدافع
متطلب مسبق لسد الفجوة ح٢ من «جرد فجوات المصرف لنواة 64-بت 2026-08-24»: بوابات المقاطعات في نواة النحلة تُكتب اليوم كأكعاب تجميعية يدوية خارج اللغة.
النص الكامل في
text/0000-دالة-مقاطعة-وبوابة-x86-intrcc.md.🤖 Generated with Claude Code