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

Side by Side Diff: src/opts/Sk4x_sse.h

Issue 1021713004: Reorg Sk4x to match the pattern of SkPMFloat. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « src/opts/Sk4x_none.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // It is important _not_ to put header guards here. 1 // It is important _not_ to put header guards here.
2 // This file will be intentionally included three times. 2 // This file will be intentionally included three times.
3 3
4 // Useful reading: 4 // Useful reading:
5 // https://software.intel.com/sites/landingpage/IntrinsicsGuide/ 5 // https://software.intel.com/sites/landingpage/IntrinsicsGuide/
6 6
7 #include "SkTypes.h" // Keep this before any #ifdef for skbug.com/3362 7 #include "SkTypes.h" // Keep this before any #ifdef for skbug.com/3362
8 8
9 #if defined(SK4X_PREAMBLE) 9 #if defined(SK4X_PREAMBLE)
10 // Code in this file may assume SSE and SSE2. 10 // Code in this file may assume SSE and SSE2.
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 } 175 }
176 M(Sk4i) Max(const Sk4i& a, const Sk4i& b) { 176 M(Sk4i) Max(const Sk4i& a, const Sk4i& b) {
177 Sk4i less = a.lessThan(b); 177 Sk4i less = a.lessThan(b);
178 return b.bitAnd(less).bitOr(a.andNot(less)); 178 return b.bitAnd(less).bitOr(a.andNot(less));
179 } 179 }
180 #endif 180 #endif
181 181
182 #undef M 182 #undef M
183 183
184 #endif//Method definitions. 184 #endif//Method definitions.
OLDNEW
« no previous file with comments | « src/opts/Sk4x_none.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698