Index: source/rotate.cc |
diff --git a/source/rotate.cc b/source/rotate.cc |
old mode 100644 |
new mode 100755 |
index 01ea5c40744fbfb748f5ca2b9b24a8e2232a17a8..f807347826152e9f02a8813eb31397ee05462ea7 |
--- a/source/rotate.cc |
+++ b/source/rotate.cc |
@@ -141,6 +141,14 @@ void RotatePlane180(const uint8* src, int src_stride, |
MirrorRow = MirrorRow_DSPR2; |
} |
#endif |
+#if defined(HAS_MIRRORROW_MSA) |
+ if (TestCpuFlag(kCpuHasMSA)) { |
+ MirrorRow = MirrorRow_Any_MSA; |
+ if (IS_ALIGNED(width, 64)) { |
+ MirrorRow = MirrorRow_MSA; |
+ } |
+} |
+#endif |
#if defined(HAS_COPYROW_SSE2) |
if (TestCpuFlag(kCpuHasSSE2)) { |
CopyRow = IS_ALIGNED(width, 32) ? CopyRow_SSE2 : CopyRow_Any_SSE2; |