Is there any similar SIMD function like wrapping_add in Rust?

I tried to use x86 SIMD instruction to replace u32:wrapping_add function in the Rust to accelerate my code. But, I didnt get any information about this instruction. Can any one give me some advice?

x86 integer SIMD instructions are always wrapping.

Thansk a lot. I read _mm256_add_epi is wrapping from the document, but _mm256_add_epi is from avx and _mm_add_epi is from sse. So it confused me.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.