Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[General]: Check_MXCSR_Reserved_Bits reads undefined DAZ16/FTZ16 fields

クローズ 初心者向け
#76 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
xml
領域
tooling

調査の方向性

Check_MXCSR_Reserved_Bits の定義から始め、LDMXCSR.xml エントリおよび固定された data/definitions.xml.gz データベースと比較します。公開されている MXCSR のレイアウトを確認し、その後、未定義の DAZ16/FTZ16 チェックとその CPUID_AVX512_FP16 依存関係を削除し、定義済みの予約ビットチェックと #GP(0) の動作は維持します。

索引モデルが issue の本文から書いたものです。

説明

Executable specification issue

Problem

Check_MXCSR_Reserved_Bits reads DAZ16 and FTZ16 when AVX512_FP16 is absent, after checking the defined reserved bits. The published material does not provide these fields' positions or a rule that computes them, so this additional check cannot be evaluated from the published definitions.

Concrete case

Consider LDMXCSR loading the ordinary value 0x1f80 on a profile without AVX512_FP16. After its defined reserved-bit check, Check_MXCSR_Reserved_Bits attempts value.DAZ16/value.FTZ16. Those field reads have no supplied definition. The failure is missing model information, not evidence that loading 0x1f80 should raise a processor exception.

Expected behavior and references

References use Intel SDM 325462-093, checked on 2026-10-01. PDF page numbers below refer to the combined manual.

Source

Source checked at Intel SDM repository commit b5218b0f1cf512304d4b3cb364433a08fcee47cb.

The helper links are the readable current pages. Their reviewed definitions are in the compressed definition database at the pinned commit.

Suggested correction

Remove the AVX512_FP16-dependent DAZ16/FTZ16 check from Check_MXCSR_Reserved_Bits and remove its CPUID_AVX512_FP16 dependency. Retain the existing reserved-bit check and its #GP(0) result for invalid values.

Evidence

Cross-checking the published MXCSR layout and field definitions finds no DAZ16 or FTZ16 bit assignment or accessor definition, while Check_MXCSR_Reserved_Bits reads both. For 0x1f80, the defined reserved-bit check succeeds; the additional undefined field reads prevent evaluation of the remaining check.

AI disclosure

Assisted by Codex

主要言語
HTML
スター
57
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

intel/SDM のほかの issue

intel/SDM の issue をすべて見る

似ている issue

DevTools の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。