OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
3 * | 3 * |
4 * 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 |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SkCpu_DEFINED | 8 #ifndef SkCpu_DEFINED |
9 #define SkCpu_DEFINED | 9 #define SkCpu_DEFINED |
10 | 10 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 #if defined(SK_CPU_ARM64) | 82 #if defined(SK_CPU_ARM64) |
83 features |= NEON|NEON_FMA|VFP_FP16; | 83 features |= NEON|NEON_FMA|VFP_FP16; |
84 #endif | 84 #endif |
85 | 85 |
86 #endif | 86 #endif |
87 return (features & mask) == mask; | 87 return (features & mask) == mask; |
88 } | 88 } |
89 | 89 |
90 #endif//SkCpu_DEFINED | 90 #endif//SkCpu_DEFINED |
OLD | NEW |