Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1248)

Unified Diff: src/opts/Sk4x_none.h

Issue 1012573003: aacc + bbdd (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: revert SkMatrix.cpp Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/opts/Sk4x_neon.h ('k') | src/opts/Sk4x_sse.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/Sk4x_none.h
diff --git a/src/opts/Sk4x_none.h b/src/opts/Sk4x_none.h
index 8e17768af65969b9d05f673f03fbf8fbe565cf42..b477177026abff7db206bbf6720f7df8160e72a5 100644
--- a/src/opts/Sk4x_none.h
+++ b/src/opts/Sk4x_none.h
@@ -111,6 +111,8 @@ M(template <int m, int a, int s, int k> Sk4x<T>) Shuffle(const Sk4x<T>& x, const
k < 4 ? x.fVec[k] : y.fVec[k-4]);
}
+M(Sk4x<T>) aacc() const { return Shuffle<0,0,2,2>(*this, *this); }
+M(Sk4x<T>) bbdd() const { return Shuffle<1,1,3,3>(*this, *this); }
M(Sk4x<T>) badc() const { return Shuffle<1,0,3,2>(*this, *this); }
#undef M
« no previous file with comments | « src/opts/Sk4x_neon.h ('k') | src/opts/Sk4x_sse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698