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

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

Issue 263553008: Remove the unused SkCachePreload_arm (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 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/SkBlitRow_opts_arm_neon.cpp ('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
(Empty)
1 /*
2 * Copyright 2012 The Android Open Source Project
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7 #ifndef SkCachePreload_arm_DEFINED
8 #define SkCachePreload_arm_DEFINED
9
10 // This file defines macros for preload instructions for ARM. These macros
11 // are designed to be embedded inside GNU inline assembly.
12 // For the use of these macros, __ARM_USE_PLD needs to be enabled. The cache
13 // line size also needs to be known (and needs to be contained inside
14 // __ARM_CACHE_LINE_SIZE).
15 #if defined(__ARM_USE_PLD)
16
17 #define PLD(x, n) "pld [%["#x"], #("#n")]\n\t"
18
19 #if __ARM_CACHE_LINE_SIZE == 32
20 #define PLD64(x, n) PLD(x, n) PLD(x, (n) + 32)
21 #elif __ARM_CACHE_LINE_SIZE == 64
22 #define PLD64(x, n) PLD(x, n)
23 #else
24 #error "unknown __ARM_CACHE_LINE_SIZE."
25 #endif
26 #else
27 // PLD is disabled, all macros become empty.
28 #define PLD(x, n)
29 #define PLD64(x, n)
30 #endif
31
32 #define PLD128(x, n) PLD64(x, n) PLD64(x, (n) + 64)
33
34 #endif // SkCachePreload_arm_DEFINED
OLDNEW
« no previous file with comments | « src/opts/SkBlitRow_opts_arm_neon.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698