blob: 5cf1e3bcbf9f7e9dcfc2c382ed3f044b2f35d4e3 [file] [log] [blame]
#include <emmintrin.h>
int main()
{
__m64 *p;
__m128 *q;
int p_isaligned, q_isaligned;
p = _mm_malloc(7*sizeof(*p),sizeof(*p));
q = _mm_malloc(5*sizeof(*q),sizeof(*q));
p_isaligned = ((int)p % sizeof(*p)) == 0;
q_isaligned = ((int)q % sizeof(*q)) == 0;
free(p);
free(q);
return (p_isaligned && q_isaligned)? 0 : 1;
}