1{{simdpp/title|store_packed2}} 2{{mem/navbar}} 3{{dcl begin}} 4{{dcl | 5template<unsigned N, class V> 6void store_packed2( void* ptr, const any_vec<N,V>& a, const any_vec<N,V>& b ); 7}} 8{{dcl end}} 9 10Interleaves the values in {{tt|a}} and {{tt|b}} in pairs and stores the resulting values in successive locations starting at {{tt|p}}. 11 12{{tt|V}} must me a non-mask vector type. {{tt|ptr}} must be aligned to vector size. 13 14===Parameters=== 15{{par begin}} 16{{par | a, b | vectors to store }} 17{{par | ptr | pointer to location to store data to}} 18{{par end}} 19 20===Return value=== 21(none) 22 23===Equivalent operation=== 24{{source|1= 25[ *(p), *(p+2), *(p+4), ... , *(p+M*2-2) ] = a 26[ *(p+1), *(p+3), *(p+5), ... , *(p+M*2-1) ] = b 27}} 28 29Here {{tt|M}} is the number of elements in the vector. 30 31===See also=== 32{{todo}} 33