temp SIMD implementation.

TODO: fix the build issue.