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

Side by Side Diff: include/core/SkPreConfig.h

Issue 216113005: Revert of ARM Skia NEON patches - 35 - First AArch64 support (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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 | « include/core/SkOnce.h ('k') | platform_tools/barelinux/bin/arm64_make » ('j') | 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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPreConfig_DEFINED 10 #ifndef SkPreConfig_DEFINED
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 #endif 167 #endif
168 168
169 #if defined(__thumb2__) && (SK_ARM_ARCH >= 6) \ 169 #if defined(__thumb2__) && (SK_ARM_ARCH >= 6) \
170 || !defined(__thumb__) && ((SK_ARM_ARCH > 5) || defined(__ARM_AR CH_5E__) \ 170 || !defined(__thumb__) && ((SK_ARM_ARCH > 5) || defined(__ARM_AR CH_5E__) \
171 || defined(__ARM_ARCH_5TE__) || defined(__ARM_ARCH_5TEJ__)) 171 || defined(__ARM_ARCH_5TE__) || defined(__ARM_ARCH_5TEJ__))
172 #define SK_ARM_HAS_EDSP 172 #define SK_ARM_HAS_EDSP
173 #endif 173 #endif
174 #endif 174 #endif
175 #endif 175 #endif
176 176
177 #if defined(__aarch64__)
178 #define SK_CPU_ARM64
179 #endif
180
181 ////////////////////////////////////////////////////////////////////// 177 //////////////////////////////////////////////////////////////////////
182 178
183 #if !defined(SKIA_IMPLEMENTATION) 179 #if !defined(SKIA_IMPLEMENTATION)
184 #define SKIA_IMPLEMENTATION 0 180 #define SKIA_IMPLEMENTATION 0
185 #endif 181 #endif
186 182
187 #if defined(SKIA_DLL) 183 #if defined(SKIA_DLL)
188 #if defined(WIN32) 184 #if defined(WIN32)
189 #if SKIA_IMPLEMENTATION 185 #if SKIA_IMPLEMENTATION
190 #define SK_API __declspec(dllexport) 186 #define SK_API __declspec(dllexport)
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 * 232 *
237 * NOTE: Clang/ARM (r161757) does not support the 'optimize' attribute. 233 * NOTE: Clang/ARM (r161757) does not support the 'optimize' attribute.
238 */ 234 */
239 #if SK_HAS_ATTRIBUTE(optimize) 235 #if SK_HAS_ATTRIBUTE(optimize)
240 # define SK_ATTRIBUTE_OPTIMIZE_O1 __attribute__((optimize("O1"))) 236 # define SK_ATTRIBUTE_OPTIMIZE_O1 __attribute__((optimize("O1")))
241 #else 237 #else
242 # define SK_ATTRIBUTE_OPTIMIZE_O1 /* nothing */ 238 # define SK_ATTRIBUTE_OPTIMIZE_O1 /* nothing */
243 #endif 239 #endif
244 240
245 #endif 241 #endif
OLDNEW
« no previous file with comments | « include/core/SkOnce.h ('k') | platform_tools/barelinux/bin/arm64_make » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698