rust-lang / rust-lang/stdarch

x86 intrinsics missing runtime tests

Open
#798 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-testing A-x86 help wanted
Dominant language
Rust
Stars
694
Forks
336
Avg merge
5d 14h
Merged PRs (30d)
9

Description

The following x86 intrinsics are missing runtime tests:

missing run-time test named `test_readeflags` for `__readeflags`
missing run-time test named `test_readeflags` for `__readeflags`
missing run-time test named `test_writeeflags` for `__writeeflags`
missing run-time test named `test_writeeflags` for `__writeeflags`
missing run-time test named `test_mm_comige_ss` for `_mm_comige_ss`
missing run-time test named `test_mm_cvt_ss2si` for `_mm_cvt_ss2si`
missing run-time test named `test_mm_cvtt_ss2si` for `_mm_cvtt_ss2si`
missing run-time test named `test_mm_cvt_si2ss` for `_mm_cvt_si2ss`
missing run-time test named `test_mm_set_ps1` for `_mm_set_ps1`
missing run-time test named `test_mm_load_ps1` for `_mm_load_ps1`
missing run-time test named `test_mm_store_ps1` for `_mm_store_ps1`
missing run-time test named `test_mm_getcsr` for `_mm_getcsr`
missing run-time test named `test_mm_setcsr` for `_mm_setcsr`
missing run-time test named `test_MM_GET_EXCEPTION_MASK` for `_MM_GET_EXCEPTION_MASK`
missing run-time test named `test_MM_GET_EXCEPTION_STATE` for `_MM_GET_EXCEPTION_STATE`
missing run-time test named `test_MM_GET_FLUSH_ZERO_MODE` for `_MM_GET_FLUSH_ZERO_MODE`
missing run-time test named `test_MM_GET_ROUNDING_MODE` for `_MM_GET_ROUNDING_MODE`
missing run-time test named `test_MM_SET_EXCEPTION_MASK` for `_MM_SET_EXCEPTION_MASK`
missing run-time test named `test_MM_SET_EXCEPTION_STATE` for `_MM_SET_EXCEPTION_STATE`
missing run-time test named `test_MM_SET_FLUSH_ZERO_MODE` for `_MM_SET_FLUSH_ZERO_MODE`
missing run-time test named `test_MM_SET_ROUNDING_MODE` for `_MM_SET_ROUNDING_MODE`
missing run-time test named `test_mm_prefetch` for `_mm_prefetch`
missing run-time test named `test_mm_undefined_ps` for `_mm_undefined_ps`
missing run-time test named `test_m_pmaxsw` for `_m_pmaxsw`
missing run-time test named `test_m_pmaxub` for `_m_pmaxub`
missing run-time test named `test_m_pminsw` for `_m_pminsw`
missing run-time test named `test_m_pminub` for `_m_pminub`
missing run-time test named `test_m_pavgb` for `_m_pavgb`
missing run-time test named `test_m_pavgw` for `_m_pavgw`
missing run-time test named `test_m_psadbw` for `_m_psadbw`
missing run-time test named `test_mm_cvt_pi2ps` for `_mm_cvt_pi2ps`
missing run-time test named `test_m_maskmovq` for `_m_maskmovq`
missing run-time test named `test_m_pextrw` for `_m_pextrw`
missing run-time test named `test_m_pinsrw` for `_m_pinsrw`
missing run-time test named `test_m_pmovmskb` for `_m_pmovmskb`
missing run-time test named `test_m_pshufw` for `_m_pshufw`
missing run-time test named `test_mm_cvtt_ps2pi` for `_mm_cvtt_ps2pi`
missing run-time test named `test_mm_cvt_ps2pi` for `_mm_cvt_ps2pi`
missing run-time test named `test_test_mm_cvtsi32_ss` for `test_mm_cvtsi32_ss`

Contributor guide

Open the contributing guide

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 locating the stdarch runtime-test suite and searching for the listed x86 intrinsics and their expected test names. Add runtime coverage for the missing entries, then run the relevant test suite to confirm all listed intrinsics are exercised.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.