문제

_mm_store_ps stores (for example) 128 bit in a 4 float elements of an array.

Can I store only 96 bit? or rather, only first 3 byte in 3 elements of array? (with SSE instuctions)


I explained myself badly: I do not want to mask the bits. I would like to store only the first 3 bytes, without copying the remaining 32 bits. Without overwriting beyond the memory

올바른 솔루션이 없습니다

다른 팁

You can do it with _mm_maskmoveu_si128 (SSE2) or _mm_maskstore_ps (AVX). However, you shouldn't expect good performance from these instructions.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top