fix a bug in example
add support for AVX
fix a bug in lmca driver when SSE/AVX is disabled