workaround for sandybridge zgemm kernel

workaround for sandybridge zgemm kernel and some small modifications.