Toolchain issues with pcrel addressing
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
調査の方向性
ファイルやテストは指定されていません。まず、pcrel ツールチェーンに関する5つの論点、すなわち @notoc 呼び出し、拡張 inline-asm のアドレッシング、プレフィックス付き命令のアラインメント、r2 の割り当て、mcount リロケーションを分離します。各制限について文書化された解決策があるか、関連するツールチェーンプロジェクトに提起されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
This issue will track some issues with porting the 64-bit kernel to pcrel addressing. Once we have something reasonably working and found no good way to solve these, they should be raised with relevant toolchain projects.
- @notoc annotation required for function call target symbols. Would be nice to have an assembler option that defaults to notoc (and perhaps could have a @toc annotation if necessary).
- Extended inline asm addressing. I haven't found a way to use more complex addressing, let alone pcrel addressing in asm constraints.
- Prefixed instructions require padding to prevent crossing 64 byte boundaries. This causes the assembler to treat delta between symbols containing prefixed instructions as non-constant even if the symbols and instructions are explicitly aligned to avoid padding inserted (e.g., 8 byte alignment for prefix instruction will prevent implicit size change). This prevents them being used in some cases, e.g., in alternate instruction sequences.
- r2 is unused in pcrel code. Could we have an option to permit the compiler to use it?
- mcount branches still generate R_PPC64_REL24 relocations. Possible to get gcc to emit @notoc branches for those?
- 主要言語
- 言語のデータがありません
- スター
- 14
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
linuxppc/issues のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
linuxppc/issues の issue をすべて見る
似ている issue
-
arith ascend bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
tile-ai/tilelang#5173 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
[Bug][TOPI] `topi.scanop` (`cumsum` / `cumprod`) performs out-of-bounds write/read on empty tensorsオープンneeds-triage type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
AeneasVerif/aeneas#1619 ·
メンテナーはふだん 1 日以内に返信
-
bug low priority preprocessor
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信