Open
Description
This is a tracking issue for the RFC "SIMD vectors in FFI" (rust-lang/rfcs#2574).
The feature gate is #![feature(simd_ffi)]
.
Steps:
- Implement the RFC (cc @rkruppe @gnzlbg); WIP in [WIP] Implement RFC2574 for FFI declarations #59238 and Implement RFC 2574, "SIMD vectors in FFI" #86546.
- Adjust documentation (see instructions on rustc-guide)
- Stabilization PR (see instructions on rustc-guide)
Unresolved questions:
- Should it be possible to use, e.g.,
__m128
on C FFI when theavx
feature is enabled? Does that change the calling convention and make doing so unsafe ? We could extend this RFC to also require that to use certain types certain features must be disabled.
Metadata
Metadata
Assignees
Labels
Area: Foreign function interface (FFI)Area: SIMD (Single Instruction Multiple Data)Blocker: Approved by a merged RFC but not yet implemented.Category: An issue tracking the progress of sth. like the implementation of an RFC`#![feature(simd_ffi)]`Status: The feature has not been implemented.Relevant to the compiler team, which will review and decide on the PR/issue.Relevant to the language team, which will review and decide on the PR/issue.This issue requires a nightly compiler in some way.