how can i align 'btr' or its adress before doing load and add? 'btr' can be represented as an array of integers, floats or short. see code snippet below:
//.h file
Class tom
{
Public:
virtual void add(void* btr);
.
.
.
}
// .cpp file
void tom::add(void* btr)
{
int* b = (int *)btr;
__m128i f0,f1,f2,f3,s0,s1;
f0 = _mm_load_si128(b);
f1 = _mm_load_si128(b+1);
f2 = _mm_load_si128(b+2);
f3 = _mm_load_si128(b+3);
s0 =_mm_add_epi16(f0,f3);
s1 =_mm_add_epi16(f1,f2);
}


