Skip to main content

sve_tuple_get

Function sve_tuple_get 

Source
pub unsafe fn sve_tuple_get<SVecTup, SVec, const IDX: i32>(
    tuple: SVecTup,
) -> SVec
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Get one vector from a tuple of vectors.

SVecTup must be a scalable vector tuple (#[rustc_scalable_vector]) and SVec must be a scalable vector (#[rustc_scalable_vector(N)]). SVecTup must be a tuple of vectors of type SVec.

Corresponds to Clang’s __builtin_sve_svget* builtins.

§Safety

IDX must be in-bounds of the tuple.