Before building the AVX CPU program, check whether your machine supports AVX instructions by running the chk_avx.sh script.
$ cd avx_aie/avx
$ ./chk_avx.sh
Checking for AVX capabilities on this machine by looking at /proc/cpuinfo...
This machine supports AVX!
Build and execute the program nly after you get the result, This machine supports AVX!.
$ make
z = 10, 12, 14, 16, 18, 20, 22, 24