added sse2 intrinsics