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

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

Issue 143423004: ARM Skia NEON patches - 35 - First AArch64 support (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Some more gyp file tuning Created 6 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 | « 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
177 ////////////////////////////////////////////////////////////////////// 181 //////////////////////////////////////////////////////////////////////
178 182
179 #if !defined(SKIA_IMPLEMENTATION) 183 #if !defined(SKIA_IMPLEMENTATION)
180 #define SKIA_IMPLEMENTATION 0 184 #define SKIA_IMPLEMENTATION 0
181 #endif 185 #endif
182 186
183 #if defined(SKIA_DLL) 187 #if defined(SKIA_DLL)
184 #if defined(WIN32) 188 #if defined(WIN32)
185 #if SKIA_IMPLEMENTATION 189 #if SKIA_IMPLEMENTATION
186 #define SK_API __declspec(dllexport) 190 #define SK_API __declspec(dllexport)
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 * 236 *
233 * NOTE: Clang/ARM (r161757) does not support the 'optimize' attribute. 237 * NOTE: Clang/ARM (r161757) does not support the 'optimize' attribute.
234 */ 238 */
235 #if SK_HAS_ATTRIBUTE(optimize) 239 #if SK_HAS_ATTRIBUTE(optimize)
236 # define SK_ATTRIBUTE_OPTIMIZE_O1 __attribute__((optimize("O1"))) 240 # define SK_ATTRIBUTE_OPTIMIZE_O1 __attribute__((optimize("O1")))
237 #else 241 #else
238 # define SK_ATTRIBUTE_OPTIMIZE_O1 /* nothing */ 242 # define SK_ATTRIBUTE_OPTIMIZE_O1 /* nothing */
239 #endif 243 #endif
240 244
241 #endif 245 #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