Index: src/opts/opts_check_x86.cpp |
diff --git a/src/opts/opts_check_x86.cpp b/src/opts/opts_check_x86.cpp |
index e3b6b470786f9825f04857bcf9b535f1a194a052..ecce7ca1ec1c81e4cd067179bc0d404cfaa03a9b 100644 |
--- a/src/opts/opts_check_x86.cpp |
+++ b/src/opts/opts_check_x86.cpp |
@@ -305,6 +305,14 @@ SkMemset32Proc SkMemset32GetPlatformProc() { |
} |
} |
+SkMemcpy32Proc SkMemcpy32GetPlatformProc() { |
+ if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { |
+ return sk_memcpy32_SSE2; |
+ } else { |
+ return NULL; |
+ } |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
SkMorphologyImageFilter::Proc SkMorphologyGetPlatformProc(SkMorphologyProcType type) { |