Closed
Description
The implementations of gather
and scatter
in portable-simd currently are not compatible with strict provenance. Specifically, it is SimdConstPtr::wrapping_add
that transmutes a vector of pointers to a vector of integers, does integer arithmetic, and then transmutes back the result. It also has safety comments that are somewhat in conflict with what I am writing in rust-lang/rust#95547. ;)
Metadata
Metadata
Assignees
Labels
No labels