RustCrypto / RustCrypto/utils

cpufeatures: requesting support for ermsb, fsrm target feature

Open
#1,450 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
674
Forks
170
Avg merge
1d 12h
Merged PRs (30d)
10

Description

fsrm: Fast Short REP MOVSB
ermsb: Enhanced REP MOVSB/STOSB

rust-lang already appears to include ermsb https://github.com/rust-lang/rust/blob/035b01b794602d5861daa43ac792f372f8981ed7/library/std_detect/src/detect/arch/x86.rs#L276

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the cpufeatures implementation for existing x86 target features and compare it with the linked Rust std_detect source. Add recognition for fsrm and ermsb, then verify that the feature detection behavior and any relevant tests cover both names.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.