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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/opts/SkBlitRow_opts_arm_neon.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkCachePreload_arm.h
diff --git a/src/opts/SkCachePreload_arm.h b/src/opts/SkCachePreload_arm.h
deleted file mode 100644
index cff8c2a9b7931bb6de20ece12ada70d23e5360ec..0000000000000000000000000000000000000000
--- a/src/opts/SkCachePreload_arm.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright 2012 The Android Open Source Project
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-#ifndef SkCachePreload_arm_DEFINED
-#define SkCachePreload_arm_DEFINED
-
-// This file defines macros for preload instructions for ARM. These macros
-// are designed to be embedded inside GNU inline assembly.
-// For the use of these macros, __ARM_USE_PLD needs to be enabled. The cache
-// line size also needs to be known (and needs to be contained inside
-// __ARM_CACHE_LINE_SIZE).
-#if defined(__ARM_USE_PLD)
-
-#define PLD(x, n) "pld [%["#x"], #("#n")]\n\t"
-
-#if __ARM_CACHE_LINE_SIZE == 32
- #define PLD64(x, n) PLD(x, n) PLD(x, (n) + 32)
-#elif __ARM_CACHE_LINE_SIZE == 64
- #define PLD64(x, n) PLD(x, n)
-#else
- #error "unknown __ARM_CACHE_LINE_SIZE."
-#endif
-#else
- // PLD is disabled, all macros become empty.
- #define PLD(x, n)
- #define PLD64(x, n)
-#endif
-
-#define PLD128(x, n) PLD64(x, n) PLD64(x, (n) + 64)
-
-#endif // SkCachePreload_arm_DEFINED
« 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