i have this declaration in my c program
u_int64_t *x ;
x = (u_int64_t*)calloc(length, 8);
and want to replace it with an instruction that aligns the allocated 8-byte blocks to be able to use aligned AVX instructions such as vmovdqa and i used calloc because it initializes the blocks to 0 which is what i need. Any suggestions are welcome.