2.8 simd
This exercise is optional.
Refer to the exercise policy for details.
Write a useful C program that use the
Intel
Intrinsics for SIMD. I recommend something like computing an inner
product and doing a fast memcpy. You should get a sense for
what these things really do.
Try to write a similar program in C using plain numbers, then use
clang’s ability to output LLVM bitcode and assembly to see if
it was able to vectorize it.