Skip to main content

sve_tuple_set

Function sve_tuple_set 

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

Change one vector in 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_svset* builtins.

§Safety

IDX must be in-bounds of the tuple.