microsoft / microsoft/STL

<intrin0.h>: Copy/move intrinsics needed by <complex>

Open
#1,424 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

blocked enhancement
Dominant language
C++
Stars
11.1k
Forks
1.7k
Avg merge
4d 15h
Merged PRs (30d)
22

Description

After merging #935, <complex> will need the following intrinsics mentioned by @statementreply:

x86/x64: _mm_fmsub_sd, _mm_set_sd, _mm_store_sd
arm64: vfma_f64, vld1_f64, vst1_f64, vneg_f64

Currently they're declared by <arm64/arm64_neon.h>, <i386/immintrin.h>, and <intrin.h>. We should consider copying the intrinsics in the first 2 headers, and moving the intrinsics in <intrin.h>, to <intrin0.h>, so that the STL can build faster.

Marking this as blocked until vcruntime is open-sourced.

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

This work is blocked until vcruntime is open-sourced. Once unblocked, inspect <intrin0.h>, <arm64/arm64_neon.h>, <i386/immintrin.h>, and <intrin.h>; move or copy the listed x86/x64 and arm64 intrinsics so can build while reducing STL build overhead.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.