Repository navigation
Closed
Copy link
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-stdarch_x86_avx512`#![feature(stdarch_x86_avx512)]``#![feature(stdarch_x86_avx512)]`O-x86_32Target: x86 processors, 32 bit (like i686-*) (also known as IA-32, i386, i586, i686)Target: x86 processors, 32 bit (like i686-*) (also known as IA-32, i386, i586, i686)O-x86_64Target: x86-64 processors (like x86_64-*) (also known as amd64 and x64)Target: x86-64 processors (like x86_64-*) (also known as amd64 and x64)T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Milestone
Description
Feature gate: #![feature(stdarch_x86_avx512)]
This is a tracking issue for the AVX-512 (and related extensions) intrinsics in core::arch.
Public API
This feature covers all of the intrinsics from the following features:
avx512bf16avx512bitalgavx512bwavx512cdavx512favx512ifmaavx512vbmiavx512vbmi2avx512vnniavx512vpopcntdqgfnivaesvpclmulqdq
VEX variants
avxifmaavxneconvertavxvnniavxvnniint16avxvnniint8
Implementation History
- Split the stdsimd feature into separate features stdarch#1486
- Implicitly enable evex512 if avx512 is enabled #121088
- Stop using the avx512er and avx512pf x86 target features #125498
- Expand
avx512_target_featureto include VEX variants #126617
Steps
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions and Other Concerns
_mm512_reduce_add_ps and friends are setting fast-math flags they should not set stdarch#1533How will we handle AVX10?_mm512_shrdv_* intrinsics have incorrect argument order #130365- We need
i1xNsupport to call LLVM intrinsics foravx512vp2intersect.
Footnotes
Reacted by bluss, Till Ulen, Alex Moore-Niemi, José Luis Cruz, Sludge and Rene Leonhardt
Reacted by Rahul Butani and Zverev Konstantin
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-stdarch_x86_avx512`#![feature(stdarch_x86_avx512)]``#![feature(stdarch_x86_avx512)]`O-x86_32Target: x86 processors, 32 bit (like i686-*) (also known as IA-32, i386, i586, i686)Target: x86 processors, 32 bit (like i686-*) (also known as IA-32, i386, i586, i686)O-x86_64Target: x86-64 processors (like x86_64-*) (also known as amd64 and x64)Target: x86-64 processors (like x86_64-*) (also known as amd64 and x64)T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Activity
Jules-Bertholet commentedon May 4, 2023
@rustbot label O-x86
IceTDrinker commentedon Oct 2, 2023
Hello, what are the guidelines to potentially contribute intrinsics?
Cheers
Amanieu commentedon Nov 3, 2023
Currently the main blocker for stabilizing AVX-512 intrinsics is that we are still missing some. See these files for the list of missing intrinsics:
There may also be missing intrinsics for some of the other AVX512 subsets, this should be double-checked.
tgross35 commentedon Nov 18, 2023
It seems like most of the intrinsics that are not yet implemented are labeled not in LLVM. Is stabilization blocked on those, or just the ones labeled
need i1?Amanieu commentedon Nov 18, 2023
The documents were made quite a few years ago, and should be checked against the equivalent intrinsics in the latest version of Clang.
Regarding the "not in llvm", we can skip these since they are supported by neither Clang nor GCC. It seems these are only supported by icc for Xeon Phi targets.
tarcieri commentedon Feb 9, 2024
Not sure if this is a good place to ask, but I'm curious if there are any blockers for stabilizing
avx512_target_feature, or it just needs a stabilization PR.I previously asked here without a reply: #44839 (comment)
Amanieu commentedon Feb 11, 2024
Yes, this is the right place to ask: essentially this is blocked on the AVX512 baseline intrinsics still being incomplete, see my comment above.
IceTDrinker commentedon Feb 12, 2024
what is considered baseline ?
I see that e.g. _mm512_cvtt_roundpd_epi64 from AVX512DQ is not available today and I don't see an axv512dq.md file in the core arch dir
Amanieu commentedon Feb 12, 2024
I would consider F + VL/DQ/BW as the baseline for initial stabilization of AVX512 intrinsics. The MD files may be somewhat out of date and need someone to double-check against the full list of intrinsics.
90 remaining items
[field] Remove stdarch_x86_avx512 feature (#12)
Auto merge of #141964 - sayantn:update-stdarch, r=Amanieu
Auto merge of #141964 - sayantn:update-stdarch, r=Amanieu
lang/rust: update to version 1.90.0 from pkgsrc-wip.
Restore stdarch_x86_avx512 feature gate for nightly
lang/rust: update to version 1.90.0 from pkgsrc-wip.
lang/rust: update to version 1.90.0 from pkgsrc-wip.
Fix AVX-512 portability: feature-gate unstable intrinsics, GO
Merge avx512-portability-fix: feature-gate unstable intrinsics, GO
fix(nasbook): disable qdrant (fleet-wide broken upstream, not nasbook…
lang/rust: update to version 1.90.0 from pkgsrc-wip.