OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2012 The Android Open Source Project | 2 * Copyright 2012 The Android Open Source Project |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #ifndef SkUtilsArm_DEFINED | 8 #ifndef SkUtilsArm_DEFINED |
10 #define SkUtilsArm_DEFINED | 9 #define SkUtilsArm_DEFINED |
11 | 10 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // | 77 // |
79 #if SK_ARM_NEON_IS_NONE | 78 #if SK_ARM_NEON_IS_NONE |
80 # define SK_ARM_NEON_WRAP(x) (x) | 79 # define SK_ARM_NEON_WRAP(x) (x) |
81 #elif SK_ARM_NEON_IS_ALWAYS | 80 #elif SK_ARM_NEON_IS_ALWAYS |
82 # define SK_ARM_NEON_WRAP(x) (x ## _neon) | 81 # define SK_ARM_NEON_WRAP(x) (x ## _neon) |
83 #elif SK_ARM_NEON_IS_DYNAMIC | 82 #elif SK_ARM_NEON_IS_DYNAMIC |
84 # define SK_ARM_NEON_WRAP(x) (sk_cpu_arm_has_neon() ? x ## _neon : x) | 83 # define SK_ARM_NEON_WRAP(x) (sk_cpu_arm_has_neon() ? x ## _neon : x) |
85 #endif | 84 #endif |
86 | 85 |
87 #endif // SkUtilsArm_DEFINED | 86 #endif // SkUtilsArm_DEFINED |
OLD | NEW |