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

Side by Side Diff: src/opts/opts_check_x86.cpp

Issue 1867193002: Add AVX/AVX2 support for runtime check (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Add Sergey Melnikov to AUTHORS Created 4 years, 8 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 | « AUTHORS ('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 /* 1 /*
2 * Copyright 2009 The Android Open Source Project 2 * Copyright 2009 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkBitmapFilter_opts_SSE2.h" 8 #include "SkBitmapFilter_opts_SSE2.h"
9 #include "SkBitmapProcState_opts_SSE2.h" 9 #include "SkBitmapProcState_opts_SSE2.h"
10 #include "SkBitmapProcState_opts_SSSE3.h" 10 #include "SkBitmapProcState_opts_SSSE3.h"
11 #include "SkBitmapScaler.h" 11 #include "SkBitmapScaler.h"
12 #include "SkBlitMask.h" 12 #include "SkBlitMask.h"
13 #include "SkBlitRow.h" 13 #include "SkBlitRow.h"
14 #include "SkBlitRow_opts_SSE2.h" 14 #include "SkBlitRow_opts_SSE2.h"
15 #include "SkOncePtr.h" 15 #include "SkOncePtr.h"
16 #include "SkRTConf.h" 16 #include "SkRTConf.h"
17 17
18
19 /*
20 *****************************************
21 *********This file is deprecated*********
22 *****************************************
23 * New CPU-specific work should be done in
24 * SkOpts framework. Run-time detection of
25 * available instruction set extensions is
26 * implemented in src/core/SkOpts.cpp file
27 *****************************************
28 */
29
30
18 #if defined(_MSC_VER) && defined(_WIN64) 31 #if defined(_MSC_VER) && defined(_WIN64)
19 #include <intrin.h> 32 #include <intrin.h>
20 #endif 33 #endif
21 34
22 /* This file must *not* be compiled with -msse or any other optional SIMD 35 /* This file must *not* be compiled with -msse or any other optional SIMD
23 extension, otherwise gcc may generate SIMD instructions even for scalar ops 36 extension, otherwise gcc may generate SIMD instructions even for scalar ops
24 (and thus give an invalid instruction on Pentium3 on the code below). 37 (and thus give an invalid instruction on Pentium3 on the code below).
25 For example, only files named *_SSE2.cpp in this directory should be 38 For example, only files named *_SSE2.cpp in this directory should be
26 compiled with -msse2 or higher. */ 39 compiled with -msse2 or higher. */
27 40
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 } 250 }
238 } else { 251 } else {
239 return nullptr; 252 return nullptr;
240 } 253 }
241 254
242 } 255 }
243 256
244 SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkColorType, SkMask::Format, Ro wFlags) { 257 SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkColorType, SkMask::Format, Ro wFlags) {
245 return nullptr; 258 return nullptr;
246 } 259 }
OLDNEW
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698