cpufeatures: vpclmulqdq returns wrong result for x86-64-v3
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with the cpufeatures::new! macro and its x86 feature detection path for vpclmulqdq; compare its result when compiled for x86-64-v3 with Rust's is_x86_feature_detected! result. The report reproduces the mismatch on Raptor Lake and Zen 3. Done means the macro reports the same runtime feature result in that build configuration.
索引モデルが issue の本文から書いたものです。
説明
I tried this code:
cpufeatures::new!(test, "vpclmulqdq");
fn main() {
dbg!(test::get(), is_x86_feature_detected!("vpclmulqdq"));
}
using cpufeatures 0.3.1. From my understanding, the cpufeatures feature detection should return identical results to is_x86_feature_detected!(), but, when compiled for x86-64-v3, this prints (false, true) for me, on two separate machines (Raptorlake and Zen3). When compiled for their native arches, it prints (true, true), presumably just because the native arches have all features enabled, so no runtime detection takes place.
- 主要言語
- Rust
- スター
- 695
- フォーク
- 185
- 平均マージ
- 10時間 40分
- マージ済み PR(30日)
- 24
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RustCrypto/utils のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
RustCrypto/utils#1555 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
RustCrypto/utils#1546 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
cpufeatures: aarch64 Linux reports aes, sha3 and sm4 when only one of their two HWCAPs is set対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
RustCrypto/utils#1627 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
RustCrypto/utils#1621 · コメント 17 件 ·
メンテナーはふだん 1 日以内に返信
-
cpubits: promoting wasm32 to 64-bit makes k256 0.14 up to 3.3x slower in Wasm (p256 0.14 is faster)オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
RustCrypto/utils#1620 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
RustCrypto/utils の issue をすべて見る
似ている issue
-
The new tests repeat each other and one only checks a two-line helper再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンinfra
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
storytold/wordcraft#9405 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
in-progress
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
area: ai-assistants documentation help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BetaBots-LLC/latticegate#17 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
storytold/craft-libs#5594 ·
メンテナーはふだん 1 日以内に返信
-
available documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Nixitov/Riptide-Native#932 ·
メンテナーはふだん 1 日以内に返信